Skip to content

Commit f5225a1

Browse files
committed
Fix chan_utils indentation issue
1 parent aec0fa4 commit f5225a1

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

src/ln/chan_utils.rs

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -140,15 +140,15 @@ impl TxCreationKeys {
140140
/// the revocation key
141141
pub fn get_revokeable_redeemscript(revocation_key: &PublicKey, to_self_delay: u16, delayed_payment_key: &PublicKey) -> Script {
142142
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()
152152
}
153153

154154
#[derive(Clone)]

0 commit comments

Comments
 (0)