fix convert

This commit is contained in:
trizin 2024-07-21 21:38:40 +03:00 committed by GitHub
parent 3c7e4cc6b2
commit 4b237903e3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -372,7 +372,7 @@ export function createPredictContract(address: Address): PredictContract {
predictContract.secondsPerEpoch = BigInt.fromI32(contractData.secondsPerEpoch)
predictContract.secondsPerSubscription = BigInt.fromI32(contractData.secondsPerSubscription)
predictContract.truevalSubmitTimeout = BigInt.fromI32(contractData.truevalSubmitTimeout)
predictContract.stakeToken = contractData.stakeToken
predictContract.stakeToken = Address.fromString(contractData.stakeToken)
predictContract.txId = contractData.txId
predictContract.timestamp = contractData.timestamp
predictContract.block = contractData.block