Skip to content

Commit

Permalink
- change broadcastBlock to broadcastSync
Browse files Browse the repository at this point in the history
  • Loading branch information
StrathCole committed Apr 30, 2024
1 parent c8321c7 commit 980cac6
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions feeder/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion feeder/package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down
2 changes: 1 addition & 1 deletion feeder/src/vote.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
})
Expand Down

0 comments on commit 980cac6

Please sign in to comment.