@@ -190,20 +190,16 @@ export const selectLocalTransactions = createDeepEqualSelector(
190190 selectNonReplacedTransactions ,
191191 selectPendingSmartTransactionsForSelectedAccountGroup ,
192192 selectEvmAddress ,
193- selectRequiredTransactionHashes ,
193+ selectRequiredTransactionIds ,
194194 ] ,
195195 (
196196 nonReplacedTransactions ,
197197 pendingSmartTransactions ,
198198 activeEvmAddress ,
199- requiredTransactionHashes ,
199+ requiredTransactionIds ,
200200 ) => {
201201 const transactions = nonReplacedTransactions . filter ( ( transaction ) => {
202- const hash =
203- 'hash' in transaction && typeof transaction . hash === 'string'
204- ? transaction . hash . toLowerCase ( )
205- : undefined ;
206- if ( hash && requiredTransactionHashes . has ( hash ) ) {
202+ if ( requiredTransactionIds . has ( transaction . id ) ) {
207203 return false ;
208204 }
209205
@@ -217,14 +213,6 @@ export const selectLocalTransactions = createDeepEqualSelector(
217213
218214 const pendingSmartTransactionsForActiveAddress =
219215 pendingSmartTransactions . filter ( ( transaction ) => {
220- const hash =
221- 'hash' in transaction && typeof transaction . hash === 'string'
222- ? transaction . hash . toLowerCase ( )
223- : undefined ;
224- if ( hash && requiredTransactionHashes . has ( hash ) ) {
225- return false ;
226- }
227-
228216 const fromAddress = transaction . txParams ?. from ;
229217 if ( ! fromAddress || ! activeEvmAddress ) {
230218 return false ;
0 commit comments