Skip to main content

set_transactions_failed

Function set_transactions_failed 

Source
pub fn set_transactions_failed(
    wallet_transactions: &mut HashMap<TxId, WalletTransaction>,
    failed_txids: Vec<TxId>,
)
Expand description

Sets transactions associated with list of failed_txids in wallet_transactions to Failed status.

Sets the spending_transaction fields of any outputs spent in these transactions to None.