We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 13e0eda commit 5738b2dCopy full SHA for 5738b2d
apps/price_pusher/src/evm/evm.ts
@@ -188,10 +188,11 @@ export class EvmPricePusher implements IPricePusher {
188
// are using this to remain compatible with the networks that doesn't
189
// support this transaction type.
190
let gasPrice =
191
- this.gasPrice !== undefined
192
- ? this.gasPrice
193
- : Number(await this.customGasStation?.getCustomGasPrice()) ||
194
- Number(await this.client.getGasPrice());
+ this.gasPrice ??
+ Number(
+ await (this.customGasStation?.getCustomGasPrice() ??
+ this.client.getGasPrice())
195
+ );
196
197
// Try to re-use the same nonce and increase the gas if the last tx is not landed yet.
198
if (this.pusherAddress === undefined) {
0 commit comments