Set Jsonrpc string when manually creating json messages.

This commit is contained in:
Josh Rickmar 2013-09-03 16:35:54 -04:00
parent b495842b0e
commit 3d6ad329d0

View file

@ -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{}{