Skip to content

Commit

Permalink
gui: fix wrong jsonrpc delspendtx request
Browse files Browse the repository at this point in the history
  • Loading branch information
edouardparis committed Apr 11, 2023
1 parent 9ebc898 commit a0890d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gui/src/daemon/client/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ impl<C: Client + Debug> Daemon for Lianad<C> {

fn delete_spend_tx(&self, txid: &Txid) -> Result<(), DaemonError> {
let _res: serde_json::value::Value =
self.call("deletespend", Some(vec![txid.to_string()]))?;
self.call("delspendtx", Some(vec![txid.to_string()]))?;
Ok(())
}

Expand Down

0 comments on commit a0890d8

Please sign in to comment.