Skip to content

Commit

Permalink
Rename BINARY to BYTES (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
leighmcculloch authored Aug 8, 2022
1 parent 1108047 commit 1d9c6ec
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Stellar-contract-spec.x
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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:
Expand Down
6 changes: 3 additions & 3 deletions Stellar-contract.x
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -266,7 +266,7 @@ case SCO_U64:
uint64 u64;
case SCO_I64:
int64 i64;
case SCO_BINARY:
case SCO_BYTES:
opaque bin<SCVAL_LIMIT>;
case SCO_BIG_INT:
SCBigInt bigInt;
Expand All @@ -275,4 +275,4 @@ case SCO_HASH:
case SCO_PUBLIC_KEY:
PublicKey publicKey;
};
}
}

0 comments on commit 1d9c6ec

Please sign in to comment.