fn refresh_output(out: &mut OutputData, api_out: &api::Output) {
	out.height = api_out.height;
	out.lock_height = api_out.lock_height;

	match out.status {
		OutputStatus::Unconfirmed => {
			out.status = OutputStatus::Unspent;
		}
		_ => (),
	}
}
// Transitions a local wallet output from Unconfirmed -> Unspent.
// Also updates the height and lock_height based on latest from the api.
Transitions a local wallet output from Unconfirmed -> Unspent.
Also updates the height and lock_height based on latest from the api.
Transitions a local wallet output from Unconfirmed - > Unspent . Also updates the height and lock_height based on latest from the api .
fn refresh_output(out: &mut OutputData, api_out: &api::Output) {
	out.height = api_out.height;
	out.lock_height = api_out.lock_height;
	match out.status {
		OutputStatus::Unconfirmed => {
			out.status = OutputStatus::Unspent;
		}
		_ => (),
	}
}
fn refresh_output ( out : & mut OutputData , api_out : & api :: Output ) { out . height = api_out . height ; out . lock_height = api_out . lock_height ; match out . status { OutputStatus :: Unconfirmed => { out . status = OutputStatus :: Unspent ; } _ => ( ) , } }
Transitions a local wallet output from Unconfirmed -> Unspent.
Transitions a local wallet output from Unconfirmed - > Unspent .
out
&mut OutputData
api_out
&api::Output