]> git.bitcoin.ninja Git - rust-lightning/commitdiff
Fix some tab-space errors in #84 2018-07-percent-bump
authorMatt Corallo <git@bluematt.me>
Thu, 26 Jul 2018 15:57:02 +0000 (11:57 -0400)
committerMatt Corallo <git@bluematt.me>
Thu, 26 Jul 2018 15:57:43 +0000 (11:57 -0400)
src/util/transaction_utils.rs

index 9ad0b82436ef6e4cb22e3b81ab79355b3c90f716..92bc209abb1978aa29cb75edecff7bc094204c6e 100644 (file)
@@ -40,11 +40,11 @@ mod tests {
 
        use bitcoin::blockdata::script::{Script, Builder};
        use bitcoin::blockdata::transaction::TxOut;
 
        use bitcoin::blockdata::script::{Script, Builder};
        use bitcoin::blockdata::transaction::TxOut;
-    use bitcoin::util::hash::Sha256dHash;
+       use bitcoin::util::hash::Sha256dHash;
 
        use hex::decode;
 
 
        use hex::decode;
 
-    #[test]
+       #[test]
        fn sort_output_by_value() {
                let txout1 = TxOut {
                        value:  100,
        fn sort_output_by_value() {
                let txout1 = TxOut {
                        value:  100,
@@ -67,7 +67,7 @@ mod tests {
                        );
        }
 
                        );
        }
 
-    #[test]
+       #[test]
        fn sort_output_by_script_pubkey() {
                let txout1 = TxOut {
                        value:  100,
        fn sort_output_by_script_pubkey() {
                let txout1 = TxOut {
                        value:  100,
@@ -90,7 +90,7 @@ mod tests {
                        );
        }
 
                        );
        }
 
-    #[test]
+       #[test]
        fn sort_output_by_bip_test() {
                let txout1 = TxOut {
                        value: 100000000,
        fn sort_output_by_bip_test() {
                let txout1 = TxOut {
                        value: 100000000,
@@ -136,7 +136,7 @@ mod tests {
 
                                        assert_eq!(outputs, expected);
                                }
 
                                        assert_eq!(outputs, expected);
                                }
-          )*
+                       )*
                }
        }
 
                }
        }