Skip to content

Commit e5cf07c

Browse files
committed
save
1 parent 9e23c37 commit e5cf07c

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

cli/commands/queueWithdrawal.go

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,12 @@ type TQueueWithdrawallArgs struct {
1515
}
1616

1717
func QueueWithdrawalCommand(args TQueueWithdrawallArgs) error {
18-
// TODO: IDelegationManager.queueWithdrawals
1918
ctx := context.Background()
2019
eth, _, chainId, err := core.GetClients(ctx, args.EthNode, args.BeaconNode, false /* isVerbose */)
21-
dm, err := IDelegationManager.NewIDelegationManager(DelegationManager(chainId), eth)
20+
core.PanicOnError("failed to dial nodes", err)
21+
22+
_dm, err := IDelegationManager.NewIDelegationManager(DelegationManager(chainId), eth)
23+
core.PanicOnError("failed to reach delegation manager", err)
2224

2325
// TODO: wait for G's conversion function from deposit[ed] shares to depositShares
2426
// bound the withdrawals by REG - (sum(allWithdrawalsQueued))

0 commit comments

Comments
 (0)