Expose last-valid-slot to BankClient and ThinClient users (#10478) (#10483)

automerge
This commit is contained in:
mergify[bot]
2020-06-10 08:43:37 -07:00
committed by GitHub
parent a4a792facd
commit 953eadd983
10 changed files with 52 additions and 34 deletions

View File

@ -70,7 +70,7 @@ pub trait SyncClient {
fn get_recent_blockhash_with_commitment(
&self,
commitment_config: CommitmentConfig,
) -> Result<(Hash, FeeCalculator)>;
) -> Result<(Hash, FeeCalculator, Slot)>;
/// Get `Some(FeeCalculator)` associated with `blockhash` if it is still in
/// the BlockhashQueue`, otherwise `None`