Update tests for notifynewtxs -> notifyreceived.
This commit is contained in:
parent
0b4401ddb6
commit
f389d39c43
1 changed files with 3 additions and 3 deletions
|
@ -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",
|
||||
|
|
Loading…
Add table
Reference in a new issue