From 09723f48005e84724a857497cff4b7dd60d5fa87 Mon Sep 17 00:00:00 2001 From: Alex Date: Tue, 29 Aug 2017 15:23:44 -0600 Subject: [PATCH] btcjson: add ErrRPCNoCFIndex for cases when cfindex is disabled --- btcjson/jsonrpcerr.go | 1 + 1 file changed, 1 insertion(+) diff --git a/btcjson/jsonrpcerr.go b/btcjson/jsonrpcerr.go index b3a48c0d..c9431c5a 100644 --- a/btcjson/jsonrpcerr.go +++ b/btcjson/jsonrpcerr.go @@ -71,6 +71,7 @@ const ( ErrRPCDifficulty RPCErrorCode = -5 ErrRPCOutOfRange RPCErrorCode = -1 ErrRPCNoTxInfo RPCErrorCode = -5 + ErrRPCNoCFIndex RPCErrorCode = -5 ErrRPCNoNewestBlockInfo RPCErrorCode = -5 ErrRPCInvalidTxVout RPCErrorCode = -5 ErrRPCRawTxString RPCErrorCode = -32602