Skip to content

Commit 1a04392

Browse files
Revert "Add contract spec type for hash (#182)" (#184)
This reverts commit 2ba4049.
1 parent 2ba4049 commit 1a04392

1 file changed

Lines changed: 0 additions & 8 deletions

File tree

Stellar-contract-spec.x

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ enum SCSpecType
4242
SC_SPEC_TYPE_MAP = 1004,
4343
SC_SPEC_TYPE_TUPLE = 1005,
4444
SC_SPEC_TYPE_BYTES_N = 1006,
45-
SC_SPEC_TYPE_HASH = 1007,
4645

4746
// User defined types.
4847
SC_SPEC_TYPE_UDT = 2000
@@ -80,11 +79,6 @@ struct SCSpecTypeBytesN
8079
uint32 n;
8180
};
8281

83-
struct SCSpectTypeHash
84-
{
85-
uint32 n;
86-
};
87-
8882
struct SCSpecTypeUDT
8983
{
9084
string name<60>;
@@ -123,8 +117,6 @@ case SC_SPEC_TYPE_TUPLE:
123117
SCSpecTypeTuple tuple;
124118
case SC_SPEC_TYPE_BYTES_N:
125119
SCSpecTypeBytesN bytesN;
126-
case SC_SPEC_TYPE_HASH:
127-
SCSpectTypeHash hash;
128120
case SC_SPEC_TYPE_UDT:
129121
SCSpecTypeUDT udt;
130122
};

0 commit comments

Comments
 (0)