mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-30 07:55:51 +00:00
Merge branch 'master' of github.com:jedmccaleb/NewCoin
This commit is contained in:
@@ -296,6 +296,11 @@ Json::Value RPCHandler::transactionSign(Json::Value jvRequest, bool bSubmit)
|
||||
return jvResult;
|
||||
}
|
||||
|
||||
if (jvRequest.isMember("debug_signing")) {
|
||||
jvResult["tx_unsigned"] = strHex(stpTrans->getSerializer().peekData());
|
||||
jvResult["tx_signing_hash"] = stpTrans->getSigningHash().ToString();
|
||||
}
|
||||
|
||||
// FIXME: For performance, transactions should not be signed in this code path.
|
||||
stpTrans->sign(naAccountPrivate);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user