Skip to content

Commit

Permalink
fix: use ZERO_ADDRESS constant for currencyAddress example (#655)
Browse files Browse the repository at this point in the history
  • Loading branch information
d4mr committed Sep 12, 2024
1 parent eeee4d1 commit 5dd74e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/routes/backend-wallet/transfer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ const requestBodySchema = Type.Object({
},
currencyAddress: Type.Optional({
...AddressSchema,
examples: [constants.AddressZero],
examples: [ZERO_ADDRESS],
description:
"The token address to transfer. Omit to transfer the chain's native currency (e.g. ETH on Ethereum).",
}),
Expand Down

0 comments on commit 5dd74e1

Please sign in to comment.