From 5fb5acd6436f265b4aec21bfc1f7ed8b7cdd5b66 Mon Sep 17 00:00:00 2001 From: Alex Date: Tue, 10 Oct 2017 14:28:49 -0600 Subject: [PATCH] btcjson: fix cfilter tests --- btcjson/chainsvrcmds_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/btcjson/chainsvrcmds_test.go b/btcjson/chainsvrcmds_test.go index cb284a4a..27fb9d6e 100644 --- a/btcjson/chainsvrcmds_test.go +++ b/btcjson/chainsvrcmds_test.go @@ -325,7 +325,7 @@ func TestChainSvrCmds(t *testing.T) { staticCmd: func() interface{} { return btcjson.NewGetCFilterCmd("123", 0) }, - marshalled: `{"jsonrpc":"1.0","method":"getcfilter","params":["123",false],"id":1}`, + marshalled: `{"jsonrpc":"1.0","method":"getcfilter","params":["123",0],"id":1}`, unmarshalled: &btcjson.GetCFilterCmd{ Hash: "123", }, @@ -338,7 +338,7 @@ func TestChainSvrCmds(t *testing.T) { staticCmd: func() interface{} { return btcjson.NewGetCFilterHeaderCmd("123", 0) }, - marshalled: `{"jsonrpc":"1.0","method":"getcfilterheader","params":["123",false],"id":1}`, + marshalled: `{"jsonrpc":"1.0","method":"getcfilterheader","params":["123",0],"id":1}`, unmarshalled: &btcjson.GetCFilterHeaderCmd{ Hash: "123", },