Skip to content

Commit

Permalink
fixed feelimit for mainnet
Browse files Browse the repository at this point in the history
  • Loading branch information
jiguantong committed Aug 30, 2024
1 parent 7107059 commit 2c9cc46
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/relay-relayer/src/client/contract_relayer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -123,12 +123,12 @@ export class RelayerContractClient {
options.message.encoded,
])
.send(
feeLimit ? { "feeLimit": feeLimit } : {}
feeLimit ? { "feeLimit": feeLimit } : { "feeLimit": 300_000000 }
);
console.log("Relay on Tron", tronResult);
return tronResult;
} catch (e) {
console.error(e);
console.error("Relay on Tron error: ", e);
}
} else {
const tx = await this.contract["relay"](options.message, contractOptions);
Expand Down

0 comments on commit 2c9cc46

Please sign in to comment.