File tree Expand file tree Collapse file tree 5 files changed +6
-6
lines changed Expand file tree Collapse file tree 5 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -203,7 +203,7 @@ impl Client {
203203 self . notify ( |notify| {
204204 notify. transactions_received ( hashes. clone ( ) , peer_id) ;
205205 } ) ;
206- let results = self . importer . miner . import_external_tranasctions ( self , transactions) ;
206+ let results = self . importer . miner . import_external_transactions ( self , transactions) ;
207207 results. len ( )
208208 }
209209
Original file line number Diff line number Diff line change @@ -286,7 +286,7 @@ impl TestBlockChainClient {
286286 let sender_address = public_to_address ( & signed. signer_public ( ) ) ;
287287 self . set_balance ( sender_address, 10_000_000_000_000_000_000 ) ;
288288 let hash = signed. hash ( ) ;
289- let res = self . miner . import_external_tranasctions ( self , vec ! [ signed. into( ) ] ) ;
289+ let res = self . miner . import_external_transactions ( self , vec ! [ signed. into( ) ] ) ;
290290 let res = res. into_iter ( ) . next ( ) . unwrap ( ) . expect ( "Successful import" ) ;
291291 assert_eq ! ( res, TransactionImportResult :: Current ) ;
292292 hash
@@ -487,7 +487,7 @@ impl BlockChainClient for TestBlockChainClient {
487487 // import right here
488488 let transactions =
489489 transactions. into_iter ( ) . filter_map ( |bytes| UntrustedRlp :: new ( & bytes) . as_val ( ) . ok ( ) ) . collect ( ) ;
490- self . miner . import_external_tranasctions ( self , transactions) ;
490+ self . miner . import_external_transactions ( self , transactions) ;
491491 }
492492
493493 fn ready_transactions ( & self , range : Range < u64 > ) -> PendingSignedTransactions {
Original file line number Diff line number Diff line change @@ -887,7 +887,7 @@ impl MinerService for Miner {
887887 ret. map ( f)
888888 }
889889
890- fn import_external_tranasctions < C : MiningBlockChainClient > (
890+ fn import_external_transactions < C : MiningBlockChainClient > (
891891 & self ,
892892 client : & C ,
893893 transactions : Vec < UnverifiedTransaction > ,
Original file line number Diff line number Diff line change @@ -113,7 +113,7 @@ pub trait MinerService: Send + Sync {
113113 Self : Sized ;
114114
115115 /// Imports transactions to mem pool.
116- fn import_external_tranasctions < C : MiningBlockChainClient > (
116+ fn import_external_transactions < C : MiningBlockChainClient > (
117117 & self ,
118118 client : & C ,
119119 transactions : Vec < UnverifiedTransaction > ,
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ impl Extension {
4545 cinfo ! ( DISCOVERY , "Discovery starts with unstructured option" ) ;
4646 }
4747 api. set_timer ( REFRESH_TOKEN , Duration :: milliseconds ( i64:: from ( config. t_refresh ) ) )
48- . expect ( "Refresh msut be registered" ) ;
48+ . expect ( "Refresh must be registered" ) ;
4949 Self {
5050 config,
5151 routing_table,
You can’t perform that action at this time.
0 commit comments