]> Untitled Git - bdk/commitdiff
Align multi-line string
authorTobin Harding <me@tobin.cc>
Wed, 24 Feb 2021 01:32:14 +0000 (12:32 +1100)
committerTobin Harding <me@tobin.cc>
Wed, 24 Feb 2021 02:30:49 +0000 (13:30 +1100)
Recently we shortened the first line of a multi-line string and failed
to re-align the rest of the lines.

Thanks @afilini

src/wallet/tx_builder.rs

index 9a9b8d2ea3b3032f28cb01d9a992518597440f4d..c887672e53dcbd0cea60350bdeba9475abacb057 100644 (file)
@@ -630,11 +630,11 @@ impl ChangeSpendPolicy {
 #[cfg(test)]
 mod test {
     const ORDERING_TEST_TX: &str = "0200000003c26f3eb7932f7acddc5ddd26602b77e7516079b03090a16e2c2f54\
-                                            85d1fd600f0100000000ffffffffc26f3eb7932f7acddc5ddd26602b77e75160\
-                                            79b03090a16e2c2f5485d1fd600f0000000000ffffffff571fb3e02278217852\
-                                            dd5d299947e2b7354a639adc32ec1fa7b82cfb5dec530e0500000000ffffffff\
-                                            03e80300000000000002aaeee80300000000000001aa200300000000000001ff\
-                                            00000000";
+                                    85d1fd600f0100000000ffffffffc26f3eb7932f7acddc5ddd26602b77e75160\
+                                    79b03090a16e2c2f5485d1fd600f0000000000ffffffff571fb3e02278217852\
+                                    dd5d299947e2b7354a639adc32ec1fa7b82cfb5dec530e0500000000ffffffff\
+                                    03e80300000000000002aaeee80300000000000001aa200300000000000001ff\
+                                    00000000";
     macro_rules! ordering_test_tx {
         () => {
             deserialize::<bitcoin::Transaction>(&Vec::<u8>::from_hex(ORDERING_TEST_TX).unwrap())