From be7923a4eddbe1c65ce1703469bf5bac91abf109 Mon Sep 17 00:00:00 2001 From: Dave Collins Date: Fri, 11 Jul 2014 09:57:03 -0500 Subject: [PATCH] Update to account for recent btcchain API changes. --- rpcserver.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rpcserver.go b/rpcserver.go index b4653998..721342fb 100644 --- a/rpcserver.go +++ b/rpcserver.go @@ -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: