mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-27 22:45:52 +00:00
Add "seed" to JSONRPC unit tests (RIPD-1099):
There was a bug in version 0.30.1 where signing with an ed25519 key and a corrupt seed would cause the "sign" and "sign_for" commands to return an unexpected error. That bug was fixed in the 0.31.0 release. These unit tests verify the fix. The error message for a corrupt seed is also slightly improved.
This commit is contained in:
committed by
Nik Bougalis
parent
1cf518e82c
commit
3a1fa4a552
@@ -27,7 +27,7 @@ namespace jss {
|
||||
|
||||
// JSON static strings
|
||||
|
||||
#define JSS(x) const ::Json::StaticString x ( #x )
|
||||
#define JSS(x) constexpr ::Json::StaticString x ( #x )
|
||||
|
||||
/* The "StaticString" field names are used instead of string literals to
|
||||
optimize the performance of accessing members of Json::Value objects.
|
||||
|
||||
Reference in New Issue
Block a user