File tree Expand file tree Collapse file tree 1 file changed +0
-9
lines changed Expand file tree Collapse file tree 1 file changed +0
-9
lines changed Original file line number Diff line number Diff line change @@ -1007,15 +1007,6 @@ impl SignerDb {
1007
1007
Ok ( sighash. and_then ( |sighash| Sha512Trunc256Sum :: from_hex ( & sighash) . ok ( ) ) )
1008
1008
}
1009
1009
1010
- /// Get a pending block validation, sorted by the time at which it was added to the pending table.
1011
- pub fn get_pending_block_validation ( & self ) -> Result < Option < Sha512Trunc256Sum > , DBError > {
1012
- let qry =
1013
- "SELECT signer_signature_hash FROM block_validations_pending ORDER BY added_time ASC" ;
1014
- let args = params ! [ ] ;
1015
- let sighash: Option < String > = query_row ( & self . db , qry, args) ?;
1016
- Ok ( sighash. and_then ( |sighash| Sha512Trunc256Sum :: from_hex ( & sighash) . ok ( ) ) )
1017
- }
1018
-
1019
1010
/// Remove a pending block validation
1020
1011
pub fn remove_pending_block_validation (
1021
1012
& self ,
You can’t perform that action at this time.
0 commit comments