btcjson: fix cfilter tests
This commit is contained in:
parent
1aa7a6166d
commit
5fb5acd643
1 changed files with 2 additions and 2 deletions
|
@ -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",
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue