From 481edc9e4c8eee69320b0e16ca9d3d131d2852cc Mon Sep 17 00:00:00 2001 From: Leo Chen Date: Tue, 21 May 2019 22:43:23 -0700 Subject: [PATCH] [node] add StakingAccount field in node Signed-off-by: Leo Chen --- node/node.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/node/node.go b/node/node.go index f8773d7f4..5f4ec7d43 100644 --- a/node/node.go +++ b/node/node.go @@ -144,8 +144,9 @@ type Node struct { PuzzleContractAddress common.Address PuzzleManagerPrivateKey *ecdsa.PrivateKey - //Node Account - AccountKey *ecdsa.PrivateKey + // Staking Account + // TODO: leochen, can we use multiple account for staking? + StakingAccount accounts.Account // For test only TestBankKeys []*ecdsa.PrivateKey