Update to account for recent btcchain API changes.

This commit is contained in:
Dave Collins 2014-07-11 09:57:03 -05:00
parent a261436e1b
commit be7923a4ed

View file

@ -1907,6 +1907,8 @@ func chainErrToGBTErrString(err error) string {
return "bad-checkpoint" return "bad-checkpoint"
case btcchain.ErrForkTooOld: case btcchain.ErrForkTooOld:
return "fork-too-old" return "fork-too-old"
case btcchain.ErrCheckpointTimeTooOld:
return "checkpoint-time-too-old"
case btcchain.ErrNoTransactions: case btcchain.ErrNoTransactions:
return "bad-txns-none" return "bad-txns-none"
case btcchain.ErrTooManyTransactions: case btcchain.ErrTooManyTransactions: