Skip to content

Commit

Permalink
fix unlock
Browse files Browse the repository at this point in the history
  • Loading branch information
ridev6 committed Aug 8, 2023
1 parent 678d3ab commit 64cc272
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ride/boosting.ride
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 64cc272

Please sign in to comment.