From: Matt Corallo Date: Fri, 29 Jun 2018 20:02:19 +0000 (-0400) Subject: Fix chan_utils indentation issue X-Git-Tag: v0.0.12~399^2~2 X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=f5225a18b76c9544b26b4dac0978840dcee202bd;p=rust-lightning Fix chan_utils indentation issue --- diff --git a/src/ln/chan_utils.rs b/src/ln/chan_utils.rs index 45f674377..eaae62f92 100644 --- a/src/ln/chan_utils.rs +++ b/src/ln/chan_utils.rs @@ -140,15 +140,15 @@ impl TxCreationKeys { /// the revocation key pub fn get_revokeable_redeemscript(revocation_key: &PublicKey, to_self_delay: u16, delayed_payment_key: &PublicKey) -> Script { Builder::new().push_opcode(opcodes::All::OP_IF) - .push_slice(&revocation_key.serialize()) - .push_opcode(opcodes::All::OP_ELSE) - .push_int(to_self_delay as i64) - .push_opcode(opcodes::OP_CSV) - .push_opcode(opcodes::All::OP_DROP) - .push_slice(&delayed_payment_key.serialize()) - .push_opcode(opcodes::All::OP_ENDIF) - .push_opcode(opcodes::All::OP_CHECKSIG) - .into_script() + .push_slice(&revocation_key.serialize()) + .push_opcode(opcodes::All::OP_ELSE) + .push_int(to_self_delay as i64) + .push_opcode(opcodes::OP_CSV) + .push_opcode(opcodes::All::OP_DROP) + .push_slice(&delayed_payment_key.serialize()) + .push_opcode(opcodes::All::OP_ENDIF) + .push_opcode(opcodes::All::OP_CHECKSIG) + .into_script() } #[derive(Clone)]