Return the actual id value, not func.
This commit is contained in:
parent
f471d2b336
commit
8fb5c9f0e6
1 changed files with 1 additions and 1 deletions
2
cmds.go
2
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.
|
||||
|
|
Loading…
Add table
Reference in a new issue