From d7c7ee3bb06783e1510d0f888705e52719b6bd17 Mon Sep 17 00:00:00 2001 From: Leigh McCulloch <351529+leighmcculloch@users.noreply.github.com> Date: Mon, 8 Aug 2022 09:17:39 -0700 Subject: [PATCH] Rename BINARY to BYTES --- Stellar-contract-spec.x | 4 ++-- Stellar-contract.x | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Stellar-contract-spec.x b/Stellar-contract-spec.x index 8a2a997..3365559 100644 --- a/Stellar-contract-spec.x +++ b/Stellar-contract-spec.x @@ -21,7 +21,7 @@ enum SCSpecType SC_SPEC_TYPE_SYMBOL = 6, SC_SPEC_TYPE_BITSET = 7, SC_SPEC_TYPE_STATUS = 8, - SC_SPEC_TYPE_BINARY = 9, + SC_SPEC_TYPE_BYTES = 9, SC_SPEC_TYPE_BIG_INT = 10, // Types with parameters. @@ -83,7 +83,7 @@ case SC_SPEC_TYPE_BOOL: case SC_SPEC_TYPE_SYMBOL: case SC_SPEC_TYPE_BITSET: case SC_SPEC_TYPE_STATUS: -case SC_SPEC_TYPE_BINARY: +case SC_SPEC_TYPE_BYTES: case SC_SPEC_TYPE_BIG_INT: void; case SC_SPEC_TYPE_OPTION: diff --git a/Stellar-contract.x b/Stellar-contract.x index 7721e45..2f47e1a 100644 --- a/Stellar-contract.x +++ b/Stellar-contract.x @@ -210,7 +210,7 @@ enum SCObjectType SCO_MAP = 1, SCO_U64 = 2, SCO_I64 = 3, - SCO_BINARY = 4, + SCO_BYTES = 4, SCO_BIG_INT = 5, SCO_HASH = 6, SCO_PUBLIC_KEY = 7 @@ -266,7 +266,7 @@ case SCO_U64: uint64 u64; case SCO_I64: int64 i64; -case SCO_BINARY: +case SCO_BYTES: opaque bin; case SCO_BIG_INT: SCBigInt bigInt; @@ -275,4 +275,4 @@ case SCO_HASH: case SCO_PUBLIC_KEY: PublicKey publicKey; }; -} \ No newline at end of file +}