Skip to content

Commit 245f47f

Browse files
gpsanantypatil12
authored andcommitted
fix: patch (#956)
1 parent 5a77762 commit 245f47f

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

script/releases/v1.0.0-slashing/cleanup/script.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,11 @@ func panicOnError(msg string, err error) {
7878
func runScript(args TArgs) error {
7979
ctx := context.Background()
8080

81+
if args.Sender[:2] == "0x" {
82+
args.Sender = args.Sender[2:]
83+
}
84+
fmt.Printf("Sender: %s\n", args.Sender)
85+
8186
eigenpodAbi, err := abi.JSON(strings.NewReader(EigenPodAbi))
8287
panicOnError("failed to load eigenpod abi", err)
8388

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
#!/usr/bin/env bash
2-
go run script.go
2+
cd script/releases/v1.0.0-slashing/cleanup
3+
go run script.go

0 commit comments

Comments
 (0)