]> git.bitcoin.ninja Git - rust-lightning/commitdiff
Clean up trailing whitespace.
authorChris Waterson <waterson@gmail.com>
Wed, 18 Oct 2023 20:55:46 +0000 (13:55 -0700)
committerChris Waterson <waterson@gmail.com>
Wed, 25 Oct 2023 16:41:53 +0000 (09:41 -0700)
lightning/src/ln/async_signer_tests.rs

index 701ecc43624ee83517550341dacb66eb5a03eec3..ca2bc233467eed4cba4a2738625bd0879676ba14 100644 (file)
@@ -434,7 +434,7 @@ fn do_test_payment(masks: &Vec<u32>) {
                // TODO: run this with_async_signer once validate_counterparty_revocation supports it.
                alice.node.handle_revoke_and_ack(&bob.node.get_our_node_id(), &raa);
                check_added_monitors(alice, 1);
-               
+
                with_async_signer(&alice, &bob.node.get_our_node_id(), &channel_id, masks, &|| {
                        alice.node.handle_commitment_signed(&bob.node.get_our_node_id(), &cu.commitment_signed);
                        check_added_monitors(alice, 1);
@@ -471,7 +471,7 @@ fn do_test_payment(masks: &Vec<u32>) {
                        ev => panic!("Expected PaymentClaimed, got {:?}", ev),
                }
        }
-       
+
        // alice <--[update_fulfill_htlcs]-- bob
        // alice <--[commitment_signed]-- bob
        {
@@ -512,7 +512,7 @@ fn do_test_payment(masks: &Vec<u32>) {
                // TODO: run with async once validate_counterparty_revocation supports it.
                bob.node.handle_revoke_and_ack(&alice.node.get_our_node_id(), &raa);
                check_added_monitors(bob, 1);
-               
+
                with_async_signer(&bob, &alice.node.get_our_node_id(), &channel_id, masks, &|| {
                        bob.node.handle_commitment_signed(&alice.node.get_our_node_id(), &cu.commitment_signed);
                        check_added_monitors(bob, 1);
@@ -739,4 +739,3 @@ fn test_peer_reconnect_srg() {
 fn test_peer_reconnect_sgr() {
        do_test_payment(&vec![ops::SIGN_COUNTERPARTY_COMMITMENT, ops::GET_PER_COMMITMENT_POINT, ops::RELEASE_COMMITMENT_SECRET]);
 }
-