add ErrInsufficientChainInfo error

pull/245/head
zelig 10 years ago
parent f72cb28b0f
commit 8ecc9509b3
  1. 2
      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 {

Loading…
Cancel
Save