outputs: vec![ (recipient(), Amount::from_sat(5_000)), (recipient(), Amount::from_sat(5_000)), (change(1), Amount::from_sat(1_774)), ], target: Target::Postage, } .build() .unwrap(); } #[test] #[should_panic(expected = "invariant: change addresses appear at most once in outputs")] fn invariant_change_appears_at_most_once() { let mut amounts = BTreeMap::new(); amounts.insert(outpoint(1), Amount::from_sat(5_000)); amounts.insert(outpoint(2), Amount::from_sat(5_000)); amounts.insert(outpoint(3), Amount::from_sat(2_000)); TransactionBuilder { amounts, fee_rate: FeeRate::try_from(1.0).unwrap(), utxos: BTreeSet::new(), locked_utxos: BTreeSet::new(), outgoing: satpoint(1, 0), inscriptions: BTreeMap::new(), recipient: recipient(), unused_change_addresses: vec![change(0), change(1)], change_addresses: vec![change(0), change(1)].into_iter().collect(), inputs: vec![outpoint(1), outpoint(2), outpoint(3)],

Inscription #44964702

ID

e70de04ef7...9cac461di0

magiceden

0.0033

$ 223.36

Detail

History

Action
Price
Marketplace
From
To
Time

TRANSFER

-

-

2jfgpefl

8 months

INSCRIBED

-

-

-2jfg

8 months

Sign Up for our Newsletter

And be the first to know about any updates!

OrdinalHub logo

All Rights Reserved OrdinalHub.com 2024

Support

Follow Us