@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/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) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leofcoin/chain",
3
- "version": "1.6.15",
3
+ "version": "1.6.16",
4
4
  "description": "Official javascript implementation",
5
5
  "private": false,
6
6
  "exports": {