fixing typo

pull/422/head
ak 6 years ago
parent f5e606f7a8
commit 4a691d5844
  1. 3
      node/node.go

@ -286,8 +286,9 @@ func New(host p2p.Host, consensus *bft.Consensus, db ethdb.Database) *Node {
}
func (node *Node) getDeployedStakingContractAddress() common.Address {
retrun node.StakingContractAddress
return node.StakingContractAddress
}
//In order to get the deployed contract address of a contract, we need to find the nonce of the address that created it.
//(Refer: https://solidity.readthedocs.io/en/v0.5.3/introduction-to-smart-contracts.html#index-8)
// Then we can (re)create the deployed address. Trivially, this is 0 for us.

Loading…
Cancel
Save