Allow multi-sign to be enabled at runtime:

This lets unit tests exercise multi-sign interfaces
without having to set RIPPLE_MULTI_SIGN_ENABLE.
This commit is contained in:
Vinnie Falco
2015-05-31 18:55:55 -07:00
parent 8be4e7e65f
commit 269ad321e6
5 changed files with 53 additions and 22 deletions

View File

@@ -123,7 +123,13 @@ public:
void sign (RippleAddress const& private_key);
bool checkSign () const;
bool checkSign(bool allowMultiSign =
#if RIPPLE_ENABLE_MULTI_SIGN
true
#else
false
#endif
) const;
bool isKnownGood () const
{