Update to latest common

This commit is contained in:
Sosthene 2025-06-23 19:41:51 +02:00
parent f474d50414
commit 5e6315ca7c

View File

@ -1115,7 +1115,7 @@ pub fn create_transaction(addresses: Vec<String>, fee_rate: u32) -> ApiResult<Ap
// We mark the utxos in the inputs as spent to prevent accidental double spends // We mark the utxos in the inputs as spent to prevent accidental double spends
for input in &unsigned_tx.unsigned_tx.as_ref().unwrap().input { for input in &unsigned_tx.unsigned_tx.as_ref().unwrap().input {
if let Some(output) = outputs.get_mut(&input.previous_output) { if let Some(output) = outputs.get_mut(&input.previous_output) {
output.spend_status = OutputSpendStatus::Spent(new_txid.to_string()); output.spend_status = OutputSpendStatus::Spent(new_txid.to_byte_array());
} }
} }