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

@@ -357,6 +357,8 @@ transact_SetSignerList (
TransactionEngineParams params,
TransactionEngine* engine)
{
if (! engine->enableMultiSign())
return temDISABLED;
return SetSignerList (txn, params, engine).apply ();
}