Skip to content

Commit a6aa1b3

Browse files
committed
fixup! fixup! fixup! Update lifi to provide chainId, pluginId, and tokenId
1 parent a996d9e commit a6aa1b3

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

src/partners/lifi.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -192,11 +192,9 @@ export function processLifiTx(rawTx: unknown): StandardTx {
192192

193193
// For some reason, some gasToken like Solana are given as "wSOL", so map them to SOL
194194
const depositChainCode =
195-
TOKEN_CODE_MAPPINGS[depositChainCodeUnmapped] ??
196-
depositChainCodeUnmapped
195+
TOKEN_CODE_MAPPINGS[depositChainCodeUnmapped] ?? depositChainCodeUnmapped
197196
const payoutChainCode =
198-
TOKEN_CODE_MAPPINGS[payoutChainCodeUnmapped] ??
199-
payoutChainCodeUnmapped
197+
TOKEN_CODE_MAPPINGS[payoutChainCodeUnmapped] ?? payoutChainCodeUnmapped
200198

201199
const depositTokenCode = depositToken.coinKey ?? depositToken.symbol
202200
const payoutTokenCode = payoutToken.coinKey ?? payoutToken.symbol

0 commit comments

Comments
 (0)