diff --git a/cmd.go b/cmd.go index 432372d..1b4971e 100644 --- a/cmd.go +++ b/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)