Skip to content

Commit

Permalink
fix debug output
Browse files Browse the repository at this point in the history
  • Loading branch information
pk910 committed Aug 30, 2024
1 parent 455b2d4 commit cdb3c97
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions pkg/coordinator/tasks/generate_deposits/task.go
Original file line number Diff line number Diff line change
Expand Up @@ -313,8 +313,10 @@ func (t *Task) generateDeposit(ctx context.Context, accountIdx uint64, onConfirm

var withdrPub common.BLSPubkey

copy(withdrPub[:], withdrPrivkey.PublicKey().Marshal())
t.logger.Debugf("generated withdrawal pubkey %v: 0x%x", withdrAccPath, withdrPub)
withdrPubKey := withdrPrivkey.PublicKey().Marshal()

copy(withdrPub[:], withdrPubKey)
t.logger.Debugf("generated withdrawal pubkey %v: 0x%x", withdrAccPath, withdrPubKey)

withdrCreds = withdrPub[:]
withdrCreds[0] = common.BLS_WITHDRAWAL_PREFIX
Expand Down

0 comments on commit cdb3c97

Please sign in to comment.