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:
Scott Schurr
2016-05-05 12:53:36 -07:00
committed by Nik Bougalis
parent 1cf518e82c
commit 3a1fa4a552
4 changed files with 127 additions and 18 deletions

View File

@@ -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.