Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
KorbinianK committed Jun 5, 2024
1 parent 028e7ea commit 7a0564f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/bridge-ui/src/libs/relayer/RelayerAPIService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ export class RelayerAPIService {
const txs: BridgeTransaction[] = items.map((tx: APIResponseTransaction) => {
let data: string | Hex = tx.data.Message.Data;
if (data === '') {
data = '' as Hex;
data = '0x' as Hex;
} else if (data !== '0x') {
const buffer = Buffer.from(data, 'base64');
data = `0x${buffer.toString('hex')}`;
Expand Down

0 comments on commit 7a0564f

Please sign in to comment.