fn mark_spent_output(out: &mut OutputData) {
	match out.status {
		OutputStatus::Unspent | OutputStatus::Locked => out.status = OutputStatus::Spent,
		_ => (),
	}
}
// Transitions a local wallet output (based on it not being in the node utxo
// set) -
// Unspent -> Spent
// Locked -> Spent
Transitions a local wallet output (based on it not being in the node utxo
set)
Unspent -> Spent
Locked -> Spent
Transitions a local wallet output ( based on it not being in the node utxo set ) Unspent - > Spent Locked - > Spent
fn mark_spent_output(out: &mut OutputData) {
	match out.status {
		OutputStatus::Unspent | OutputStatus::Locked => out.status = OutputStatus::Spent,
		_ => (),
	}
}
fn mark_spent_output ( out : & mut OutputData ) { match out . status { OutputStatus :: Unspent | OutputStatus :: Locked => out . status = OutputStatus :: Spent , _ => ( ) , } }
Transitions a local wallet output (based on it not being in the node utxo
set)
Unspent -> Spent
Locked -> Spent
Transitions a local wallet output ( based on it not being in the node utxo set ) Unspent - > Spent Locked - > Spent
out
&mut OutputData