From 8fb5c9f0e66448001d88ba1946fbf27b2a817b28 Mon Sep 17 00:00:00 2001 From: Josh Rickmar Date: Tue, 21 Jan 2014 15:10:12 -0500 Subject: [PATCH] Return the actual id value, not func. --- cmds.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmds.go b/cmds.go index c11d02cfa..cbca42ce6 100644 --- a/cmds.go +++ b/cmds.go @@ -156,7 +156,7 @@ func parseExportWatchingWalletCmd(r *btcjson.RawCmd) (btcjson.Cmd, error) { // Id satisifies the Cmd interface by returning the ID of the command. func (cmd *ExportWatchingWalletCmd) Id() interface{} { - return cmd.Id + return cmd.id } // SetId satisifies the Cmd interface by setting the ID of the command.