Skip to content

Commit 2b5e412

Browse files
committed
fix lint errors
1 parent e69147d commit 2b5e412

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • examples/oft-solana/tasks/common

examples/oft-solana/tasks/common/utils.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,10 +146,10 @@ export function calculateGasAndValueShortfall(
146146
// There's no Typescript function for combining options, so we'll decode both enforcedOptions and extraOptions to get their values
147147
const enforcedOptionsValue = Options.fromOptions(enforcedOptions).decodeExecutorLzReceiveOption()?.value ?? 0n
148148
const extraOptionsGas = extraOptions
149-
? Options.fromOptions(extraOptions).decodeExecutorLzReceiveOption()?.gas ?? 0n
149+
? (Options.fromOptions(extraOptions).decodeExecutorLzReceiveOption()?.gas ?? 0n)
150150
: 0n
151151
const extraOptionsValue = extraOptions
152-
? Options.fromOptions(extraOptions).decodeExecutorLzReceiveOption()?.value ?? 0n
152+
? (Options.fromOptions(extraOptions).decodeExecutorLzReceiveOption()?.value ?? 0n)
153153
: 0n
154154
const totalOptionsValue = enforcedOptionsValue + extraOptionsValue
155155

0 commit comments

Comments
 (0)