Skip to main content

PEG_OUT_CHANGE_VOUT

Constant PEG_OUT_CHANGE_VOUT 

Source
pub const PEG_OUT_CHANGE_VOUT: u32 = 1;
Expand description

Output index of the change output in every peg-out transaction we build.

StatelessWallet::create_tx always emits [destination, change], and we always pay ourselves change to avoid losing value to dust.