Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions ccip-sdk/src/solana/offchain.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ export function encodeSolanaOffchainTokenData(data: OffchainTokenData): string {

const encoded = cctpTokenPoolCoder.types.encode('MessageAndAttestation', messageAndAttestation)
return hexlify(encoded)
} else if (data?._tag === 'lbtc') {
return data.attestation as string
}
return '0x'
}
Loading