+ if value_to_a >= (dust_limit_satoshis as i64) || !txouts.is_empty() {
+ // Always push the anchor output so that local can get the transaction confirmed.
+ txouts.push((TxOut {
+ script_pubkey: Script::new(), //XXX
+ value: ANCHOR_VALUE_SATOSHIS
+ }, None));
+ }
+