Update to account for recent btcchain API changes.
This commit is contained in:
parent
a261436e1b
commit
be7923a4ed
1 changed files with 2 additions and 0 deletions
|
@ -1907,6 +1907,8 @@ func chainErrToGBTErrString(err error) string {
|
|||
return "bad-checkpoint"
|
||||
case btcchain.ErrForkTooOld:
|
||||
return "fork-too-old"
|
||||
case btcchain.ErrCheckpointTimeTooOld:
|
||||
return "checkpoint-time-too-old"
|
||||
case btcchain.ErrNoTransactions:
|
||||
return "bad-txns-none"
|
||||
case btcchain.ErrTooManyTransactions:
|
||||
|
|
Loading…
Reference in a new issue