Skip to content

Commit 37db059

Browse files
committed
fix: missing example in psbt segwit example
1 parent d62ce10 commit 37db059

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cookbook/src/psbt/multiple_inputs_segwit-v0.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,12 @@ use bitcoin::bip32::{ChildNumber, IntoDerivationPath, Fingerprint, Xpriv, Xpub};
3737
use bitcoin::hashes::Hash;
3838
use bitcoin::locktime::absolute;
3939
use bitcoin::psbt::Input;
40-
use bitcoin::secp256k1::{self, Message, Secp256k1, Signing};
40+
use bitcoin::secp256k1::{Secp256k1, Signing};
4141
use bitcoin::consensus;
42-
use bitcoin::transaction::{self, OutPoint, TxIn, TxOut};
42+
use bitcoin::transaction::{self, OutPoint, TxIn, TxOut, Transaction};
4343
use bitcoin::{
4444
Address, Amount, EcdsaSighashType, Network, Psbt, ScriptBuf, Sequence,
45-
Txid, WPubkeyHash, Witness, XOnlyPublicKey,
45+
Txid, WPubkeyHash, Witness,
4646
};
4747
```
4848

0 commit comments

Comments
 (0)