mirror of
https://github.com/XRPLF/rippled.git
synced 2026-07-25 08:00:22 +00:00
feat: Add MPT support to DEX (#5285)
This commit is contained in:
committed by
GitHub
parent
6d1a5be8d2
commit
dfcad69155
@@ -58,7 +58,7 @@ struct STNumber_test : public beast::unit_test::suite
|
||||
STNumber const factor{sfNumber, 100};
|
||||
auto const iouValue = strikePrice.iou();
|
||||
IOUAmount const totalValue{iouValue * factor};
|
||||
STAmount const totalAmount{totalValue, strikePrice.issue()};
|
||||
STAmount const totalAmount{totalValue, strikePrice.get<Issue>()};
|
||||
BEAST_EXPECT(totalAmount == Number{10'000});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user