We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2f88ec9 commit b924a79Copy full SHA for b924a79
subprojects/gdk_rust/gdk_electrum/src/lib.rs
@@ -977,7 +977,10 @@ impl ElectrumSession {
977
if let Some(memo) = tx.create_transaction.as_ref().and_then(|o| o.memo.as_ref()) {
978
self.get_wallet()?.store.write()?.insert_memo(txid.into(), memo)?;
979
}
980
- Ok(tx.clone())
+ let mut tx = tx.clone();
981
+ // If sign transaction happens externally txid might not have been updated
982
+ tx.txid = txid.to_string();
983
+ Ok(tx)
984
985
986
pub fn broadcast_transaction(&mut self, tx_hex: &str) -> Result<String, Error> {
0 commit comments