mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Add ripple::Expected which simulates std::expected:
Also integrates use of ripple::Expected into the code base.
This commit is contained in:
committed by
Nik Bougalis
parent
de43d43560
commit
c50d166c23
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user