]> git.bitcoin.ninja Git - rapid-gossip-sync-server/commitdiff
Update unit tests.
authorArik Sosman <git@arik.io>
Fri, 7 Jun 2024 18:15:16 +0000 (11:15 -0700)
committerArik Sosman <git@arik.io>
Fri, 7 Jun 2024 18:15:16 +0000 (11:15 -0700)
src/tests/mod.rs

index bf5cd4a8b0e8c3519f7956c26ca1e8be1eac4435..7290e6e177ea83d54ce12532a30752ed65bdb77e 100644 (file)
@@ -409,8 +409,8 @@ async fn test_node_announcement_delta_detection() {
 
        assert_eq!(serialization.message_count, 3);
        assert_eq!(serialization.node_announcement_count, 3);
-       assert_eq!(serialization.node_update_count, 1);
-       assert_eq!(serialization.node_feature_update_count, 1);
+       assert_eq!(serialization.node_update_count, 3);
+       assert_eq!(serialization.node_feature_update_count, 3);
        assert_eq!(serialization.node_address_update_count, 1);
 }