Skip to content

Commit

Permalink
Fix: bug when a validator is registered using rpc (ethereum-optimism#119
Browse files Browse the repository at this point in the history
)
  • Loading branch information
gitferry authored Oct 16, 2023
1 parent ec59539 commit 6a0a843
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion service/event_loop.go
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,9 @@ func (app *ValidatorApp) eventLoop() {

// return to the caller
ev.successResponse <- &RegisterValidatorResponse{
TxHash: ev.txHash,
bbnPubKey: valStored.GetBabylonPK(),
btcPubKey: valStored.MustGetBIP340BTCPK(),
TxHash: ev.txHash,
}

case <-app.eventQuit:
Expand Down

0 comments on commit 6a0a843

Please sign in to comment.