Update to latest common
This commit is contained in:
parent
f474d50414
commit
5e6315ca7c
@ -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
|
||||
for input in &unsigned_tx.unsigned_tx.as_ref().unwrap().input {
|
||||
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());
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user