File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ pub enum SpendableOutputDescriptor {
54
54
/// The private key which should be used to sign the transaction is provided, as well as the
55
55
/// full witness redeemScript which is hashed in the output script_pubkey.
56
56
/// The witness in the spending input should be:
57
- /// <BIP 143 signature generated with the given key> <one zero byte aka OP_0>
57
+ /// <BIP 143 signature generated with the given key> <empty vector> (MINIMALIF standard rule)
58
58
/// <witness_script as provided>
59
59
/// Note that the nSequence field in the input must be set to_self_delay (which corresponds to
60
60
/// the transaction not being broadcastable until at least to_self_delay blocks after the input
Original file line number Diff line number Diff line change @@ -4009,7 +4009,7 @@ macro_rules! check_spendable_outputs {
4009
4009
let local_delaysig = secp_ctx. sign( & sighash, key) ;
4010
4010
spend_tx. input[ 0 ] . witness. push( local_delaysig. serialize_der( ) . to_vec( ) ) ;
4011
4011
spend_tx. input[ 0 ] . witness[ 0 ] . push( SigHashType :: All as u8 ) ;
4012
- spend_tx. input[ 0 ] . witness. push( vec!( 0 ) ) ;
4012
+ spend_tx. input[ 0 ] . witness. push( vec!( ) ) ;
4013
4013
spend_tx. input[ 0 ] . witness. push( witness_script. clone( ) . into_bytes( ) ) ;
4014
4014
txn. push( spend_tx) ;
4015
4015
} ,
You can’t perform that action at this time.
0 commit comments