Skip to content

Commit

Permalink
Revert "Add contract spec type for hash (#182)" (#184)
Browse files Browse the repository at this point in the history
This reverts commit 2ba4049.
  • Loading branch information
leighmcculloch authored Apr 22, 2024
1 parent 2ba4049 commit 1a04392
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions Stellar-contract-spec.x
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ enum SCSpecType
SC_SPEC_TYPE_MAP = 1004,
SC_SPEC_TYPE_TUPLE = 1005,
SC_SPEC_TYPE_BYTES_N = 1006,
SC_SPEC_TYPE_HASH = 1007,

// User defined types.
SC_SPEC_TYPE_UDT = 2000
Expand Down Expand Up @@ -80,11 +79,6 @@ struct SCSpecTypeBytesN
uint32 n;
};

struct SCSpectTypeHash
{
uint32 n;
};

struct SCSpecTypeUDT
{
string name<60>;
Expand Down Expand Up @@ -123,8 +117,6 @@ case SC_SPEC_TYPE_TUPLE:
SCSpecTypeTuple tuple;
case SC_SPEC_TYPE_BYTES_N:
SCSpecTypeBytesN bytesN;
case SC_SPEC_TYPE_HASH:
SCSpectTypeHash hash;
case SC_SPEC_TYPE_UDT:
SCSpecTypeUDT udt;
};
Expand Down

0 comments on commit 1a04392

Please sign in to comment.