Skip to content

Commit

Permalink
add display contract (prysmaticlabs#7407)
Browse files Browse the repository at this point in the history
* add display contract
  • Loading branch information
bidlocode authored Oct 1, 2020
1 parent de93551 commit ee747ca
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions beacon-chain/node/node.go
Original file line number Diff line number Diff line change
Expand Up @@ -505,6 +505,8 @@ func (b *BeaconNode) registerPOWChainService() error {
if len(knownContract) > 0 && !bytes.Equal(cfg.DepositContract.Bytes(), knownContract) {
return fmt.Errorf("database contract is %#x but tried to run with %#x", knownContract, cfg.DepositContract.Bytes())
}

log.Infof("Deposit contract: %#x", cfg.DepositContract.Bytes())
return b.services.RegisterService(web3Service)
}

Expand Down

0 comments on commit ee747ca

Please sign in to comment.