From ee747ca6d4aac0417640034cf9a791f984d999ff Mon Sep 17 00:00:00 2001 From: bidlocode Date: Fri, 2 Oct 2020 04:55:49 +0600 Subject: [PATCH] add display contract (#7407) * add display contract --- beacon-chain/node/node.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/beacon-chain/node/node.go b/beacon-chain/node/node.go index 348c4024f046..1f37e49afdfd 100644 --- a/beacon-chain/node/node.go +++ b/beacon-chain/node/node.go @@ -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) }