From fe7da4c5f570749c5cf389ed307ff418411899c5 Mon Sep 17 00:00:00 2001 From: STRRL Date: Tue, 28 Feb 2023 11:39:11 +0800 Subject: [PATCH] fix(java sdk): tokenType not used with withdrawalERC721 Signed-off-by: STRRL --- reddio-java/pom.xml | 2 +- .../kotlin/com/reddio/api/v1/requests/ReddioTransferToApi.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/reddio-java/pom.xml b/reddio-java/pom.xml index 9715fcf..8999524 100644 --- a/reddio-java/pom.xml +++ b/reddio-java/pom.xml @@ -56,7 +56,7 @@ UTF-8 1.8 1.8 - 0.0.52-SNAPSHOT + 0.0.52 true diff --git a/reddio-java/reddio-api/src/main/kotlin/com/reddio/api/v1/requests/ReddioTransferToApi.kt b/reddio-java/reddio-api/src/main/kotlin/com/reddio/api/v1/requests/ReddioTransferToApi.kt index 98587d4..f65bbbe 100644 --- a/reddio-java/reddio-api/src/main/kotlin/com/reddio/api/v1/requests/ReddioTransferToApi.kt +++ b/reddio-java/reddio-api/src/main/kotlin/com/reddio/api/v1/requests/ReddioTransferToApi.kt @@ -222,7 +222,7 @@ class ReddioTransferToApi private constructor( "1", contractAddress, tokenId, - ReddioClient.TOKEN_TYPE_ERC721, + tokenType, receiver, expirationTimestamp )