Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix repeated errorCode in SCStatus #20

Merged
merged 1 commit into from
Aug 18, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions Stellar-contract.x
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down