]> git.bitcoin.ninja Git - rapid-gossip-sync-server/commitdiff
Drop spurious comments 2022-08-fix-deadlock
authorMatt Corallo <git@bluematt.me>
Mon, 22 Aug 2022 04:19:52 +0000 (04:19 +0000)
committerMatt Corallo <git@bluematt.me>
Tue, 23 Aug 2022 00:23:13 +0000 (00:23 +0000)
src/persistence.rs

index ef0a9372f21b28c8a703a5fec9a7844a5b0d1374..00ca70d892aab814a32099870767f976276e74e5 100644 (file)
@@ -114,7 +114,7 @@ impl GossipPersister {
                                        let chain_hash_hex = hex_utils::hex_str(chain_hash);
 
                                        // start with the type prefix, which is already known a priori
-                                       let mut announcement_signed = Vec::new(); // vec![1, 0];
+                                       let mut announcement_signed = Vec::new();
                                        announcement.write(&mut announcement_signed).unwrap();
 
                                        let result = client
@@ -156,7 +156,7 @@ impl GossipPersister {
                                        let htlc_maximum_msat = update.contents.htlc_maximum_msat as i64;
 
                                        // start with the type prefix, which is already known a priori
-                                       let mut update_signed = Vec::new(); // vec![1, 2];
+                                       let mut update_signed = Vec::new();
                                        update.write(&mut update_signed).unwrap();
 
                                        let result = client