File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -499,15 +499,15 @@ impl Miner {
499499
500500 let mut tx_count: usize = 0 ;
501501 let tx_total = transactions. len ( ) ;
502- let mut invald_tx_users = HashSet :: new ( ) ;
502+ let mut invalid_tx_users = HashSet :: new ( ) ;
503503 for tx in transactions {
504504 let signer_public = tx. signer_public ( ) ;
505- if invald_tx_users . contains ( & signer_public) {
505+ if invalid_tx_users . contains ( & signer_public) {
506506 // The previous transaction has failed
507507 continue
508508 }
509509 if !self . is_allowed_transaction ( & tx. action ) {
510- invald_tx_users . insert ( signer_public) ;
510+ invalid_tx_users . insert ( signer_public) ;
511511 invalid_transactions. push ( tx. hash ( ) ) ;
512512 continue
513513 }
@@ -524,7 +524,7 @@ impl Miner {
524524 // already have transaction - ignore
525525 Err ( Error :: History ( HistoryError :: TransactionAlreadyImported ) ) => { }
526526 Err ( e) => {
527- invald_tx_users . insert ( signer_public) ;
527+ invalid_tx_users . insert ( signer_public) ;
528528 invalid_transactions. push ( hash) ;
529529 cinfo ! (
530530 MINER ,
You can’t perform that action at this time.
0 commit comments