@leofcoin/chain 1.5.47 → 1.5.48

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.
@@ -4761,8 +4761,8 @@ class Chain extends VersionControl {
4761
4761
  this.#addTransaction = async (message) => {
4762
4762
  const transaction = new TransactionMessage(message);
4763
4763
  const hash = await transaction.hash();
4764
- if (await transactionPool.has(hash))
4765
- await transactionPool.delete(hash);
4764
+ if (await transactionPoolStore.has(hash))
4765
+ await transactionPoolStore.delete(hash);
4766
4766
  console.log(transaction);
4767
4767
  };
4768
4768
  // @ts-ignore
package/exports/chain.js CHANGED
@@ -1172,8 +1172,8 @@ class Chain extends VersionControl {
1172
1172
  this.#addTransaction = async (message) => {
1173
1173
  const transaction = new TransactionMessage(message);
1174
1174
  const hash = await transaction.hash();
1175
- if (await transactionPool.has(hash))
1176
- await transactionPool.delete(hash);
1175
+ if (await transactionPoolStore.has(hash))
1176
+ await transactionPoolStore.delete(hash);
1177
1177
  console.log(transaction);
1178
1178
  };
1179
1179
  // @ts-ignore
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leofcoin/chain",
3
- "version": "1.5.47",
3
+ "version": "1.5.48",
4
4
  "description": "Official javascript implementation",
5
5
  "exports": {
6
6
  "./node": {