Skip to content

Commit

Permalink
Rename CONTRACT_EXECUTABLE_TOKEN->CONTRACT_EXECUTABLE_STELLAR_ASSET. (#…
Browse files Browse the repository at this point in the history
…159)

This is a more correct name, given that the contract no longer supports arbitrary tokens.
  • Loading branch information
dmkozh authored Oct 9, 2023
1 parent 68e5e6a commit 39ca371
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Stellar-contract.x
Original file line number Diff line number Diff line change
Expand Up @@ -165,14 +165,14 @@ struct Int256Parts {
enum ContractExecutableType
{
CONTRACT_EXECUTABLE_WASM = 0,
CONTRACT_EXECUTABLE_TOKEN = 1
CONTRACT_EXECUTABLE_STELLAR_ASSET = 1
};

union ContractExecutable switch (ContractExecutableType type)
{
case CONTRACT_EXECUTABLE_WASM:
Hash wasm_hash;
case CONTRACT_EXECUTABLE_TOKEN:
case CONTRACT_EXECUTABLE_STELLAR_ASSET:
void;
};

Expand Down

0 comments on commit 39ca371

Please sign in to comment.