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.