Skip to content

Commit

Permalink
Rename CONTRACT_EXECUTABLE_TOKEN->CONTRACT_EXECUTABLE_STELLAR_ASSET.
Browse files Browse the repository at this point in the history
This is a more correct name, given that the contract no longer supports arbitrary tokens.
  • Loading branch information
dmkozh committed Oct 9, 2023
1 parent 51e9d1c commit 172a21f
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 172a21f

Please sign in to comment.