7 lines
264 B
JavaScript
7 lines
264 B
JavaScript
export function _checkCurrentTx({ rootGetters }, transactions) {
|
|
const currentTransactions = rootGetters['txHashKeeper/allTxsHash']
|
|
const newTransactions = transactions.filter((event) => !currentTransactions.includes(event.txHash))
|
|
|
|
return newTransactions
|
|
}
|