Skip to content

Commit

Permalink
explicit fee for price feeder
Browse files Browse the repository at this point in the history
  • Loading branch information
dakom authored and hanjukim committed Mar 18, 2022
1 parent 0742b45 commit 34306d6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pseudo-feeder/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import {
LCDClient,
MnemonicKey,
MsgAggregateExchangeRateVote,
Fee
} from "@terra-money/terra.js";

const {
Expand Down Expand Up @@ -133,7 +134,7 @@ async function loop() {
);

const msgs = [lastSuccessVoteMsg, voteMsg.getPrevote()].filter(Boolean);
const tx = await wallet.createAndSignTx({ msgs });
const tx = await wallet.createAndSignTx({ msgs, fee: new Fee(200000, '30000uusd') });

await testnetClient.tx
.broadcast(tx)
Expand Down

0 comments on commit 34306d6

Please sign in to comment.