File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -140,15 +140,15 @@ impl TxCreationKeys {
140
140
/// the revocation key
141
141
pub fn get_revokeable_redeemscript ( revocation_key : & PublicKey , to_self_delay : u16 , delayed_payment_key : & PublicKey ) -> Script {
142
142
Builder :: new ( ) . push_opcode ( opcodes:: All :: OP_IF )
143
- . push_slice ( & revocation_key. serialize ( ) )
144
- . push_opcode ( opcodes:: All :: OP_ELSE )
145
- . push_int ( to_self_delay as i64 )
146
- . push_opcode ( opcodes:: OP_CSV )
147
- . push_opcode ( opcodes:: All :: OP_DROP )
148
- . push_slice ( & delayed_payment_key. serialize ( ) )
149
- . push_opcode ( opcodes:: All :: OP_ENDIF )
150
- . push_opcode ( opcodes:: All :: OP_CHECKSIG )
151
- . into_script ( )
143
+ . push_slice ( & revocation_key. serialize ( ) )
144
+ . push_opcode ( opcodes:: All :: OP_ELSE )
145
+ . push_int ( to_self_delay as i64 )
146
+ . push_opcode ( opcodes:: OP_CSV )
147
+ . push_opcode ( opcodes:: All :: OP_DROP )
148
+ . push_slice ( & delayed_payment_key. serialize ( ) )
149
+ . push_opcode ( opcodes:: All :: OP_ENDIF )
150
+ . push_opcode ( opcodes:: All :: OP_CHECKSIG )
151
+ . into_script ( )
152
152
}
153
153
154
154
#[ derive( Clone ) ]
You can’t perform that action at this time.
0 commit comments