Skip to content

Commit

Permalink
fix: use 0x prefix for API requests
Browse files Browse the repository at this point in the history
  • Loading branch information
ChiTimesChi committed Dec 17, 2024
1 parent 7b67cd9 commit 39d601c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/sdk-router/src/rfq/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ export const getBestRelayerQuote = async (
origin_sender: options.originSender,
dest_recipient: options.destRecipient,
// TODO: cleanup
zap_data: options.zapData?.substring(2) ?? '',
zap_data: options.zapData ?? '0x',
zap_native: options.zapNative?.toString() ?? '0',
},
}
Expand Down

0 comments on commit 39d601c

Please sign in to comment.