File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -831,7 +831,7 @@ impl SignerDb {
831
831
& self ,
832
832
tenure : & ConsensusHash ,
833
833
) -> Result < i64 , DBError > {
834
- let query = "SELECT COUNT(*) FROM blocks WHERE consensus_hash = ?1 AND state = ?2 AND signed_over = 1 " ;
834
+ let query = "SELECT COUNT(*) FROM blocks WHERE consensus_hash = ?1 AND state = ?2" ;
835
835
let args = params ! [ tenure, & BlockState :: GloballyAccepted . to_string( ) ] ;
836
836
query_count ( & self . db , query, args)
837
837
}
@@ -2048,7 +2048,7 @@ mod tests {
2048
2048
assert_eq ! (
2049
2049
db. get_globally_signed_block_count_in_tenure( & consensus_hash_1)
2050
2050
. unwrap( ) ,
2051
- 3
2051
+ 4
2052
2052
) ;
2053
2053
2054
2054
// add a locally signed block
@@ -2060,7 +2060,7 @@ mod tests {
2060
2060
assert_eq ! (
2061
2061
db. get_globally_signed_block_count_in_tenure( & consensus_hash_1)
2062
2062
. unwrap( ) ,
2063
- 3
2063
+ 4
2064
2064
) ;
2065
2065
}
2066
2066
You can’t perform that action at this time.
0 commit comments