@leofcoin/chain 1.6.15 → 1.6.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/exports/browser/chain.js +657 -674
- package/exports/chain.js +1 -1
- package/package.json +1 -1
package/exports/chain.js
CHANGED
|
@@ -1570,7 +1570,7 @@ class Chain extends VersionControl {
|
|
|
1570
1570
|
async #handleTransaction(transaction, latestTransactions, block) {
|
|
1571
1571
|
const hash = await transaction.hash();
|
|
1572
1572
|
const doubleTransactions = [];
|
|
1573
|
-
if (latestTransactions.includes(hash) || transactionStore.has(hash)) {
|
|
1573
|
+
if (latestTransactions.includes(hash) || (await transactionStore.has(hash))) {
|
|
1574
1574
|
doubleTransactions.push(hash);
|
|
1575
1575
|
}
|
|
1576
1576
|
if (doubleTransactions.length > 0) {
|