Skip to content

Commit 4e6352a

Browse files
committed
Integration test fixups
1 parent 685d374 commit 4e6352a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

integration_test/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ fn main() {
207207
for sk in sks_reqd {
208208
let sig = secp.sign_ecdsa(&msg, &sk);
209209
let pk = pks[sks.iter().position(|&x| x == sk).unwrap()];
210-
psbts[i].inputs[0].partial_sigs.insert(pk, bitcoin::EcdsaSig { sig, hash_ty: sighash_ty });
210+
psbts[i].inputs[0].partial_sigs.insert(pk.inner, bitcoin::EcdsaSig { sig, hash_ty: sighash_ty });
211211
}
212212
// Add the hash preimages to the psbt
213213
psbts[i].inputs[0].sha256_preimages.insert(

integration_test/src/read_file.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ fn setup_keys(
6060

6161
let sk = secp256k1::SecretKey::from_slice(&sk[..]).expect("secret key");
6262
let pk = miniscript::bitcoin::PublicKey {
63-
key: secp256k1::PublicKey::from_secret_key(&secp_sign, &sk),
63+
inner: secp256k1::PublicKey::from_secret_key(&secp_sign, &sk),
6464
compressed: true,
6565
};
6666
pks.push(pk);

0 commit comments

Comments
 (0)