Fix a couple incorrect comments.

This commit is contained in:
Josh Rickmar 2014-01-13 17:16:58 -05:00
parent 05a0ba18b4
commit 15f2ce4abd

View file

@ -419,7 +419,7 @@ type NotifyNewTXsCmd struct {
// Enforce that NotifyNewTXsCmd satisifies the btcjson.Cmd interface. // Enforce that NotifyNewTXsCmd satisifies the btcjson.Cmd interface.
var _ btcjson.Cmd = &NotifyNewTXsCmd{} var _ btcjson.Cmd = &NotifyNewTXsCmd{}
// NewNotifyNewTXsCmd creates a new RescanCmd. // NewNotifyNewTXsCmd creates a new NotifyNewTXsCmd.
func NewNotifyNewTXsCmd(id interface{}, addresses []string) *NotifyNewTXsCmd { func NewNotifyNewTXsCmd(id interface{}, addresses []string) *NotifyNewTXsCmd {
return &NotifyNewTXsCmd{ return &NotifyNewTXsCmd{
id: id, id: id,
@ -515,7 +515,7 @@ type NotifySpentCmd struct {
// Enforce that NotifySpentCmd satisifies the btcjson.Cmd interface. // Enforce that NotifySpentCmd satisifies the btcjson.Cmd interface.
var _ btcjson.Cmd = &NotifySpentCmd{} var _ btcjson.Cmd = &NotifySpentCmd{}
// NewNotifySpentCmd creates a new RescanCmd. // NewNotifySpentCmd creates a new NotifySpentCmd.
func NewNotifySpentCmd(id interface{}, op *btcwire.OutPoint) *NotifySpentCmd { func NewNotifySpentCmd(id interface{}, op *btcwire.OutPoint) *NotifySpentCmd {
return &NotifySpentCmd{ return &NotifySpentCmd{
id: id, id: id,