diff options
author | zelig <viktor.tron@gmail.com> | 2015-01-09 14:03:32 +0800 |
---|---|---|
committer | zelig <viktor.tron@gmail.com> | 2015-01-09 14:03:32 +0800 |
commit | 8ecc9509b3ac490fe8ac9d91e24e8271963ee443 (patch) | |
tree | 0d1b14673a06db914249175af76d912218839bc3 /eth/error.go | |
parent | f72cb28b0f688d99d7936900474e7d10d06ffb3a (diff) | |
download | dexon-8ecc9509b3ac490fe8ac9d91e24e8271963ee443.tar dexon-8ecc9509b3ac490fe8ac9d91e24e8271963ee443.tar.gz dexon-8ecc9509b3ac490fe8ac9d91e24e8271963ee443.tar.bz2 dexon-8ecc9509b3ac490fe8ac9d91e24e8271963ee443.tar.lz dexon-8ecc9509b3ac490fe8ac9d91e24e8271963ee443.tar.xz dexon-8ecc9509b3ac490fe8ac9d91e24e8271963ee443.tar.zst dexon-8ecc9509b3ac490fe8ac9d91e24e8271963ee443.zip |
add ErrInsufficientChainInfo error
Diffstat (limited to 'eth/error.go')
-rw-r--r-- | eth/error.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/eth/error.go b/eth/error.go index 1d9f80638..9c4a68481 100644 --- a/eth/error.go +++ b/eth/error.go @@ -16,6 +16,7 @@ const ( ErrInvalidBlock ErrInvalidPoW ErrUnrequestedBlock + ErrInsufficientChainInfo ) var errorToString = map[int]string{ @@ -30,6 +31,7 @@ var errorToString = map[int]string{ ErrInvalidBlock: "Invalid block", ErrInvalidPoW: "Invalid PoW", ErrUnrequestedBlock: "Unrequested block", + ErrInsufficientChainInfo: "Insufficient chain info", } type protocolError struct { |