diff --git a/cfd_protocol/src/lib.rs b/cfd_protocol/src/lib.rs index 86d2159..687cc2c 100644 --- a/cfd_protocol/src/lib.rs +++ b/cfd_protocol/src/lib.rs @@ -287,12 +287,12 @@ pub fn spending_tx_sighash( pub fn finalize_spend_transaction( mut tx: Transaction, spent_descriptor: &Descriptor, - (maker_pk, maker_sig): (PublicKey, Signature), - (taker_pk, taker_sig): (PublicKey, Signature), + (pk_0, sig_0): (PublicKey, Signature), + (pk_1, sig_1): (PublicKey, Signature), ) -> Result { let satisfier = HashMap::from_iter(vec![ - (maker_pk, (maker_sig, SigHashType::All)), - (taker_pk, (taker_sig, SigHashType::All)), + (pk_0, (sig_0, SigHashType::All)), + (pk_1, (sig_1, SigHashType::All)), ]); let input = tx