[node] add StakingAccount field in node

Signed-off-by: Leo Chen <leo@harmony.one>
pull/845/head
Leo Chen 6 years ago
parent 3865c075de
commit 481edc9e4c
  1. 5
      node/node.go

@ -144,8 +144,9 @@ type Node struct {
PuzzleContractAddress common.Address PuzzleContractAddress common.Address
PuzzleManagerPrivateKey *ecdsa.PrivateKey PuzzleManagerPrivateKey *ecdsa.PrivateKey
//Node Account // Staking Account
AccountKey *ecdsa.PrivateKey // TODO: leochen, can we use multiple account for staking?
StakingAccount accounts.Account
// For test only // For test only
TestBankKeys []*ecdsa.PrivateKey TestBankKeys []*ecdsa.PrivateKey

Loading…
Cancel
Save