diff options
author | obscuren <geffobscura@gmail.com> | 2015-02-14 01:15:23 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-02-14 01:15:23 +0800 |
commit | ce239333d529898edd8333637fd75c565e80a9ff (patch) | |
tree | 763f273cff09726bb16acf715d5ce0e2908e0b8f /core | |
parent | 0f3c25b26589f5667b618d6a91b73392d02ccd1e (diff) | |
download | go-tangerine-ce239333d529898edd8333637fd75c565e80a9ff.tar go-tangerine-ce239333d529898edd8333637fd75c565e80a9ff.tar.gz go-tangerine-ce239333d529898edd8333637fd75c565e80a9ff.tar.bz2 go-tangerine-ce239333d529898edd8333637fd75c565e80a9ff.tar.lz go-tangerine-ce239333d529898edd8333637fd75c565e80a9ff.tar.xz go-tangerine-ce239333d529898edd8333637fd75c565e80a9ff.tar.zst go-tangerine-ce239333d529898edd8333637fd75c565e80a9ff.zip |
Update balance label when mining
Diffstat (limited to 'core')
-rw-r--r-- | core/types/block.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/types/block.go b/core/types/block.go index a334c512e..562a21239 100644 --- a/core/types/block.go +++ b/core/types/block.go @@ -6,6 +6,7 @@ import ( "math/big" "sort" "time" + "github.com/ethereum/go-ethereum/crypto" "github.com/ethereum/go-ethereum/ethutil" "github.com/ethereum/go-ethereum/rlp" @@ -175,6 +176,7 @@ func (self *Block) RlpDataForStorage() interface{} { // Header accessors (add as you need them) func (self *Block) Number() *big.Int { return self.header.Number } func (self *Block) NumberU64() uint64 { return self.header.Number.Uint64() } +func (self *Block) Nonce() []byte { return self.header.Nonce } func (self *Block) Bloom() []byte { return self.header.Bloom } func (self *Block) Coinbase() []byte { return self.header.Coinbase } func (self *Block) Time() int64 { return int64(self.header.Time) } |