Skip to content

Commit bce97f3

Browse files
committed
doc(lib): fix misleading comment
P2SH-P2WSH is a standard script type and it is not valid withing inputs for shared secret derivation.
1 parent d14f4c0 commit bce97f3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

silentpayments/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ pub fn tag_txin(txin: &TxIn, script_pubkey: &ScriptBuf) -> Option<SpInputs> {
3535
.script_sig
3636
.redeem_script()
3737
.filter(|script_pubkey| script_pubkey.is_p2wpkh())
38-
// if Non-standard script return None
38+
// if not P2SH-P2WPKH return None
3939
.map(|_| WrappedSegwit),
4040
// Native segwit
4141
(false, true) => {

0 commit comments

Comments
 (0)