From 980cac6fc4ed7cbf97fca727aae644229b1ee63b Mon Sep 17 00:00:00 2001 From: StrathCole Date: Wed, 1 May 2024 00:10:37 +0200 Subject: [PATCH] - change broadcastBlock to broadcastSync --- feeder/package-lock.json | 10 +++++----- feeder/package.json | 2 +- feeder/src/vote.ts | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/feeder/package-lock.json b/feeder/package-lock.json index 4be9691..bdc23a0 100644 --- a/feeder/package-lock.json +++ b/feeder/package-lock.json @@ -1,12 +1,12 @@ { "name": "@classic-terra/oracle-feeder", - "version": "3.1.2", + "version": "3.1.3", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@classic-terra/oracle-feeder", - "version": "3.1.2", + "version": "3.1.3", "license": "Apache-2.0", "dependencies": { "@terra-money/terra.js": "^3.1.7", @@ -489,9 +489,9 @@ } }, "node_modules/elliptic": { - "version": "6.5.4", - "resolved": "https://registry.npmjs.org/elliptic/-/elliptic-6.5.4.tgz", - "integrity": "sha512-iLhC6ULemrljPZb+QutR5TQGB+pdW6KGD5RSegS+8sorOZT+rdQFbsQFJgvN3eRqNALqJer4oQ16YvJHlU8hzQ==", + "version": "6.5.5", + "resolved": "https://registry.npmjs.org/elliptic/-/elliptic-6.5.5.tgz", + "integrity": "sha512-7EjbcmUm17NQFu4Pmgmq2olYMj8nwMnpcddByChSUjArp8F5DQWcIcpriwO4ZToLNAJig0yiyjswfyGNje/ixw==", "dependencies": { "bn.js": "^4.11.9", "brorand": "^1.1.0", diff --git a/feeder/package.json b/feeder/package.json index 65c17c4..4a69bd3 100644 --- a/feeder/package.json +++ b/feeder/package.json @@ -1,6 +1,6 @@ { "name": "@classic-terra/oracle-feeder", - "version": "3.1.2", + "version": "3.1.3", "main": "src/index.ts", "license": "Apache-2.0", "scripts": { diff --git a/feeder/src/vote.ts b/feeder/src/vote.ts index 2cd616e..0b95a25 100644 --- a/feeder/src/vote.ts +++ b/feeder/src/vote.ts @@ -208,7 +208,7 @@ export async function processVote( memo: `${packageInfo.name}@${packageInfo.version}`, }) - const res = await client.tx.broadcastBlock(tx).catch((err) => { + const res = await client.tx.broadcastSync(tx).catch((err) => { logger.error(`broadcast error: ${err.message} ${tx.toData(client.config.isClassic)}`) throw err })