From 2f682db68f05a13040e13282b6eae1d01240f45d Mon Sep 17 00:00:00 2001 From: Jonathan Jove Date: Thu, 18 Aug 2022 16:21:59 -0500 Subject: [PATCH] Fix repeated errorCode in SCStatus --- Stellar-contract.x | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Stellar-contract.x b/Stellar-contract.x index 7a88631..aa2b69e 100644 --- a/Stellar-contract.x +++ b/Stellar-contract.x @@ -168,17 +168,17 @@ case SST_OK: case SST_UNKNOWN_ERROR: SCUnknownErrorCode unknownCode; case SST_HOST_VALUE_ERROR: - SCHostValErrorCode errorCode; + SCHostValErrorCode valCode; case SST_HOST_OBJECT_ERROR: - SCHostObjErrorCode errorCode; + SCHostObjErrorCode objCode; case SST_HOST_FUNCTION_ERROR: - SCHostFnErrorCode errorCode; + SCHostFnErrorCode fnCode; case SST_HOST_STORAGE_ERROR: - SCHostStorageErrorCode errorCode; + SCHostStorageErrorCode storageCode; case SST_HOST_CONTEXT_ERROR: - SCHostContextErrorCode errorCode; + SCHostContextErrorCode contextCode; case SST_VM_ERROR: - SCVmErrorCode errorCode; + SCVmErrorCode vmCode; }; union SCVal switch (SCValType type)