From f389d39c43d0cf6d43626265411a730cd507aa4d Mon Sep 17 00:00:00 2001 From: Dave Collins Date: Mon, 14 Apr 2014 22:45:37 -0500 Subject: [PATCH] Update tests for notifynewtxs -> notifyreceived. --- cmds_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cmds_test.go b/cmds_test.go index 5e0d3f0a..2aef6e62 100644 --- a/cmds_test.go +++ b/cmds_test.go @@ -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",