Update tests for notifynewtxs -> notifyreceived.

This commit is contained in:
Dave Collins 2014-04-14 22:45:37 -05:00
parent 0b4401ddb6
commit f389d39c43

View file

@ -156,16 +156,16 @@ var cmdtests = []struct {
},
},
{
name: "notifynewtxs",
name: "notifyreceived",
f: func() (btcjson.Cmd, error) {
addrs := []string{
"17XhEvq9Nahdj7Xe1nv6oRe1tEmaHUuynH",
}
return NewNotifyNewTXsCmd(
return NewNotifyReceivedCmd(
float64(1),
addrs), nil
},
result: &NotifyNewTXsCmd{
result: &NotifyReceivedCmd{
id: float64(1),
Addresses: []string{
"17XhEvq9Nahdj7Xe1nv6oRe1tEmaHUuynH",