Set Jsonrpc string when manually creating json messages.
This commit is contained in:
parent
b495842b0e
commit
3d6ad329d0
1 changed files with 2 additions and 2 deletions
|
@ -373,7 +373,7 @@ func reqTxsForAddress(addr string) {
|
|||
seq.Unlock()
|
||||
|
||||
m := &btcjson.Message{
|
||||
Jsonrpc: "",
|
||||
Jsonrpc: "1.0",
|
||||
Id: fmt.Sprintf("btcwallet(%v)", n),
|
||||
Method: "rescanforutxo",
|
||||
Params: []interface{}{
|
||||
|
@ -402,7 +402,7 @@ func reqUtxoForAddress(addr string) {
|
|||
seq.Unlock()
|
||||
|
||||
m := &btcjson.Message{
|
||||
Jsonrpc: "",
|
||||
Jsonrpc: "1.0",
|
||||
Id: fmt.Sprintf("btcwallet(%d)", n),
|
||||
Method: "requestutxos",
|
||||
Params: []interface{}{
|
||||
|
|
Loading…
Reference in a new issue