Skip to content

Commit

Permalink
Use STEitherAmount as a variant of STAmount and MPTAmount
Browse files Browse the repository at this point in the history
  • Loading branch information
gregtatcam committed Jul 1, 2024
1 parent bf60716 commit d1332ec
Show file tree
Hide file tree
Showing 17 changed files with 489 additions and 645 deletions.
4 changes: 2 additions & 2 deletions include/xrpl/protocol/SField.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ Some fields have a different meaning for their

// Forwards
class STAccount;
class STAmount;
class STEitherAmount;
class STIssue;
class STBlob;
template <int>
Expand Down Expand Up @@ -346,7 +346,7 @@ using SF_UINT384 = TypedField<STBitString<384>>;
using SF_UINT512 = TypedField<STBitString<512>>;

using SF_ACCOUNT = TypedField<STAccount>;
using SF_AMOUNT = TypedField<STAmount>;
using SF_AMOUNT = TypedField<STEitherAmount>;
using SF_ISSUE = TypedField<STIssue>;
using SF_CURRENCY = TypedField<STCurrency>;
using SF_VL = TypedField<STBlob>;
Expand Down
Loading

0 comments on commit d1332ec

Please sign in to comment.