Return the actual id value, not func.

This commit is contained in:
Josh Rickmar 2014-01-21 15:10:12 -05:00
parent f471d2b336
commit 8fb5c9f0e6

View file

@ -156,7 +156,7 @@ func parseExportWatchingWalletCmd(r *btcjson.RawCmd) (btcjson.Cmd, error) {
// Id satisifies the Cmd interface by returning the ID of the command. // Id satisifies the Cmd interface by returning the ID of the command.
func (cmd *ExportWatchingWalletCmd) Id() interface{} { func (cmd *ExportWatchingWalletCmd) Id() interface{} {
return cmd.Id return cmd.id
} }
// SetId satisifies the Cmd interface by setting the ID of the command. // SetId satisifies the Cmd interface by setting the ID of the command.