refactor: Remove erroneous base_uint ctor from container (#7123)

This commit is contained in:
Ayaz Salikhov
2026-05-12 20:24:05 +01:00
committed by GitHub
parent aa55392453
commit 6c2266c5c7
14 changed files with 68 additions and 41 deletions

View File

@@ -93,7 +93,7 @@ STPathSet::STPathSet(SerialIter& sit, SField const& name) : STBase(name)
XRPL_ASSERT(
!(hasCurrency && hasMPT), "xrpl::STPathSet::STPathSet : not has Currency and MPT");
if (hasCurrency)
asset = static_cast<Currency>(sit.get160());
asset = Currency::fromRaw(sit.get160());
if (hasMPT)
asset = sit.get192();