requesttxs -> notifynewtxs
This commit is contained in:
parent
be538d149e
commit
34dc33d48c
1 changed files with 1 additions and 1 deletions
2
cmd.go
2
cmd.go
|
@ -239,7 +239,7 @@ func (w *BtcWallet) ReqNewTxsForAddress(addr string) {
|
|||
m := &btcjson.Message{
|
||||
Jsonrpc: "1.0",
|
||||
Id: fmt.Sprintf("btcwallet(%d)", n),
|
||||
Method: "requesttxs",
|
||||
Method: "notifynewtxs",
|
||||
Params: []interface{}{addr},
|
||||
}
|
||||
msg, _ := json.Marshal(m)
|
||||
|
|
Loading…
Reference in a new issue