From 64cc2729a8d8c6e3ee83413bc62814d794bb9f46 Mon Sep 17 00:00:00 2001 From: Waves Rider <108881461+ridev6@users.noreply.github.com> Date: Tue, 8 Aug 2023 16:03:33 +0500 Subject: [PATCH] fix unlock --- ride/boosting.ride | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ride/boosting.ride b/ride/boosting.ride index 7d1b31ce..9708bde9 100644 --- a/ride/boosting.ride +++ b/ride/boosting.ride @@ -687,7 +687,7 @@ func unlock(txIdStr: String, amount: Int) = { let txId = txIdStr.fromBase58String() let userRecordArray = readLockParamsRecordOrFail( userAddress, - if (txIdStr == "") then txId else unit + if (txIdStr == "") then unit else txId ) let userAmount = userRecordArray[IdxLockAmount].parseIntValue()