Эх сурвалжийг харах

drk: Fix logic bug in scanning loop regarding slot number

parazyd 3 жил өмнө
parent
commit
4f2521cd00

+ 1 - 1
bin/drk/src/rpc_blockchain.rs

@@ -326,7 +326,7 @@ impl Drk {
         });
 
         while !term_tx.is_closed() {
-            if sl == last {
+            if sl > last {
                 term_tx.close();
                 break
             }