Skip to content

Commit f296e77

Browse files
authored
Merge pull request #93 from eval-exec/patch-1
Fix `fn get_fee_rate_statistics` return type
2 parents b982f48 + 5b24731 commit f296e77

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/rpc/ckb.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ crate::jsonrpc!(pub struct CkbRpcClient {
4040
pub fn get_block_median_time(&self, block_hash: H256) -> Option<Timestamp>;
4141
pub fn get_block_economic_state(&self, block_hash: H256) -> Option<BlockEconomicState>;
4242
pub fn estimate_cycles(&self, tx: Transaction)-> EstimateCycles;
43-
pub fn get_fee_rate_statics(&self, tartet:Option<Uint64>)->FeeRateStatistics;
44-
pub fn get_fee_rate_statistics(&self, tartet:Option<Uint64>)->FeeRateStatistics;
43+
pub fn get_fee_rate_statics(&self, target:Option<Uint64>) -> Option<FeeRateStatistics>;
44+
pub fn get_fee_rate_statistics(&self, target:Option<Uint64>) -> Option<FeeRateStatistics>;
4545

4646
// Indexer
4747
pub fn get_indexer_tip(&self) -> Option<Tip>;

0 commit comments

Comments
 (0)