requesttxs -> notifynewtxs

This commit is contained in:
Josh Rickmar 2013-09-04 14:14:21 -04:00
parent be538d149e
commit 34dc33d48c

2
cmd.go
View file

@ -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)