From 1a04392432dacc0092caaeae22a600ea1af3c6a5 Mon Sep 17 00:00:00 2001 From: Leigh McCulloch <351529+leighmcculloch@users.noreply.github.com> Date: Tue, 23 Apr 2024 05:28:29 +1000 Subject: [PATCH] Revert "Add contract spec type for hash (#182)" (#184) This reverts commit 2ba4049554bb0564950e6d9213e01a60fc190f54. --- Stellar-contract-spec.x | 8 -------- 1 file changed, 8 deletions(-) diff --git a/Stellar-contract-spec.x b/Stellar-contract-spec.x index 5d3e029..6988a63 100644 --- a/Stellar-contract-spec.x +++ b/Stellar-contract-spec.x @@ -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 @@ -80,11 +79,6 @@ struct SCSpecTypeBytesN uint32 n; }; -struct SCSpectTypeHash -{ - uint32 n; -}; - struct SCSpecTypeUDT { string name<60>; @@ -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; };