File tree Expand file tree Collapse file tree
examples/oft-solana/tasks/common Expand file tree Collapse file tree Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments