diff options
author | obscuren <geffobscura@gmail.com> | 2014-12-02 19:23:27 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-12-02 19:23:27 +0800 |
commit | 5ebae82eeb3f5ecdffb96f9d692523d0b0d4f759 (patch) | |
tree | b51f867420e4953b5ee540d966e312f89324d626 /chain/error.go | |
parent | 99481a245adc2c4814ab6b38d94d63114f7bbb15 (diff) | |
download | dexon-5ebae82eeb3f5ecdffb96f9d692523d0b0d4f759.tar dexon-5ebae82eeb3f5ecdffb96f9d692523d0b0d4f759.tar.gz dexon-5ebae82eeb3f5ecdffb96f9d692523d0b0d4f759.tar.bz2 dexon-5ebae82eeb3f5ecdffb96f9d692523d0b0d4f759.tar.lz dexon-5ebae82eeb3f5ecdffb96f9d692523d0b0d4f759.tar.xz dexon-5ebae82eeb3f5ecdffb96f9d692523d0b0d4f759.tar.zst dexon-5ebae82eeb3f5ecdffb96f9d692523d0b0d4f759.zip |
Additional logging and removed temp merged mining options.
Diffstat (limited to 'chain/error.go')
-rw-r--r-- | chain/error.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chain/error.go b/chain/error.go index 7dce2b608..0c4d6e59e 100644 --- a/chain/error.go +++ b/chain/error.go @@ -128,12 +128,12 @@ func IsTDError(e error) bool { } type KnownBlockError struct { - number uint64 + number *big.Int hash []byte } func (self *KnownBlockError) Error() string { - return fmt.Sprintf("block %d already known (%x)", self.number, self.hash[0:4]) + return fmt.Sprintf("block %v already known (%x)", self.number, self.hash[0:4]) } func IsKnownBlockErr(e error) bool { _, ok := e.(*KnownBlockError) |