Add ripple::Expected which simulates std::expected:

Also integrates use of ripple::Expected into the code base.
This commit is contained in:
Scott Schurr
2021-08-16 11:27:05 -07:00
committed by Nik Bougalis
parent de43d43560
commit c50d166c23
14 changed files with 557 additions and 69 deletions

View File

@@ -1592,7 +1592,7 @@ public:
j.sign(keypair.first, keypair.second);
unexpected(
!j.checkSign(STTx::RequireFullyCanonicalSig::yes).first,
!j.checkSign(STTx::RequireFullyCanonicalSig::yes),
"Transaction fails signature test");
Serializer rawTxn;