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 {
203
203
self . notify ( |notify| {
204
204
notify. transactions_received ( hashes. clone ( ) , peer_id) ;
205
205
} ) ;
206
- let results = self . importer . miner . import_external_tranasctions ( self , transactions) ;
206
+ let results = self . importer . miner . import_external_transactions ( self , transactions) ;
207
207
results. len ( )
208
208
}
209
209
Original file line number Diff line number Diff line change @@ -286,7 +286,7 @@ impl TestBlockChainClient {
286
286
let sender_address = public_to_address ( & signed. signer_public ( ) ) ;
287
287
self . set_balance ( sender_address, 10_000_000_000_000_000_000 ) ;
288
288
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( ) ] ) ;
290
290
let res = res. into_iter ( ) . next ( ) . unwrap ( ) . expect ( "Successful import" ) ;
291
291
assert_eq ! ( res, TransactionImportResult :: Current ) ;
292
292
hash
@@ -487,7 +487,7 @@ impl BlockChainClient for TestBlockChainClient {
487
487
// import right here
488
488
let transactions =
489
489
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) ;
491
491
}
492
492
493
493
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 {
887
887
ret. map ( f)
888
888
}
889
889
890
- fn import_external_tranasctions < C : MiningBlockChainClient > (
890
+ fn import_external_transactions < C : MiningBlockChainClient > (
891
891
& self ,
892
892
client : & C ,
893
893
transactions : Vec < UnverifiedTransaction > ,
Original file line number Diff line number Diff line change @@ -113,7 +113,7 @@ pub trait MinerService: Send + Sync {
113
113
Self : Sized ;
114
114
115
115
/// Imports transactions to mem pool.
116
- fn import_external_tranasctions < C : MiningBlockChainClient > (
116
+ fn import_external_transactions < C : MiningBlockChainClient > (
117
117
& self ,
118
118
client : & C ,
119
119
transactions : Vec < UnverifiedTransaction > ,
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ impl Extension {
45
45
cinfo ! ( DISCOVERY , "Discovery starts with unstructured option" ) ;
46
46
}
47
47
api. set_timer ( REFRESH_TOKEN , Duration :: milliseconds ( i64:: from ( config. t_refresh ) ) )
48
- . expect ( "Refresh msut be registered" ) ;
48
+ . expect ( "Refresh must be registered" ) ;
49
49
Self {
50
50
config,
51
51
routing_table,
You can’t perform that action at this time.
0 commit comments