Skip to content

Commit cdca052

Browse files
committed
Tiny formatting fix.
1 parent e6f7455 commit cdca052

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lightning/src/ln/mod.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,15 +80,15 @@ pub use self::peer_channel_encryptor::LN_MAX_MSG_LEN;
8080
/// payment_hash type, use to cross-lock hop
8181
/// (C-not exported) as we just use [u8; 32] directly
8282
#[derive(Hash, Copy, Clone, PartialEq, Eq, Debug)]
83-
pub struct PaymentHash(pub [u8;32]);
83+
pub struct PaymentHash(pub [u8; 32]);
8484
/// payment_preimage type, use to route payment between hop
8585
/// (C-not exported) as we just use [u8; 32] directly
8686
#[derive(Hash, Copy, Clone, PartialEq, Eq, Debug)]
87-
pub struct PaymentPreimage(pub [u8;32]);
87+
pub struct PaymentPreimage(pub [u8; 32]);
8888
/// payment_secret type, use to authenticate sender to the receiver and tie MPP HTLCs together
8989
/// (C-not exported) as we just use [u8; 32] directly
9090
#[derive(Hash, Copy, Clone, PartialEq, Eq, Debug)]
91-
pub struct PaymentSecret(pub [u8;32]);
91+
pub struct PaymentSecret(pub [u8; 32]);
9292

9393
use prelude::*;
9494
use bitcoin::bech32;

0 commit comments

Comments
 (0)