mirror of
https://github.com/LBRYFoundation/lbcd.git
synced 2025-08-23 17:47:24 +00:00
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{} {
|
staticCmd: func() interface{} {
|
||||||
return btcjson.NewGetCFilterCmd("123", 0)
|
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{
|
unmarshalled: &btcjson.GetCFilterCmd{
|
||||||
Hash: "123",
|
Hash: "123",
|
||||||
},
|
},
|
||||||
|
@ -338,7 +338,7 @@ func TestChainSvrCmds(t *testing.T) {
|
||||||
staticCmd: func() interface{} {
|
staticCmd: func() interface{} {
|
||||||
return btcjson.NewGetCFilterHeaderCmd("123", 0)
|
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{
|
unmarshalled: &btcjson.GetCFilterHeaderCmd{
|
||||||
Hash: "123",
|
Hash: "123",
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Reference in a new issue