Skip to content

Commit

Permalink
fix transfer erc20 token
Browse files Browse the repository at this point in the history
  • Loading branch information
Samuel Sramko committed Sep 24, 2021
1 parent 91c337c commit 67390cf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tatumio/tatum",
"version": "1.26.2",
"version": "1.26.3",
"description": "Tatum API client allows browsers and Node.js clients to interact with Tatum API.",
"main": "dist/src/index.js",
"repository": "https://github.com/tatumio/tatum-js",
Expand Down
2 changes: 1 addition & 1 deletion src/model/request/TransferErc20.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export class TransferErc20 extends PrivateKeyOrSignatureId {

@ValidateIf(o => !o.contractAddress)
@IsNotEmpty()
@IsIn([...ETH_BASED_CURRENCIES, Currency.XDC, Currency.MATIC, ...MATIC_BASED_CURRENCIES])
@IsIn([...ETH_BASED_CURRENCIES, ...MATIC_BASED_CURRENCIES, Currency.XDC, Currency.ONE])
public currency?: Currency;

@ValidateIf(o => !o.currency)
Expand Down

0 comments on commit 67390cf

Please sign in to comment.