mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Remove TxnSignApiFacade (RIPD-945):
Replace TxnSignApiFacade with separate passed in arguments to the various sign/submit RPC commands. Also increase unit test coverage of the submit_multisign RPC command.
This commit is contained in:
committed by
Edward Hennis
parent
9b787434c9
commit
eed1a891a7
@@ -18,8 +18,8 @@
|
||||
//==============================================================================
|
||||
|
||||
#include <BeastConfig.h>
|
||||
#include <ripple/app/main/Application.h>
|
||||
#include <ripple/app/ledger/LedgerMaster.h>
|
||||
#include <ripple/protocol/ErrorCodes.h>
|
||||
#include <ripple/protocol/Feature.h>
|
||||
#include <ripple/resource/Fees.h>
|
||||
#include <ripple/rpc/Context.h>
|
||||
@@ -46,7 +46,12 @@ Json::Value doSignFor (RPC::Context& context)
|
||||
auto const failType = NetworkOPs::doFailHard (failHard);
|
||||
|
||||
return RPC::transactionSignFor (
|
||||
context.params, failType, context.netOps, context.role);
|
||||
context.params,
|
||||
failType,
|
||||
context.role,
|
||||
context.ledgerMaster.getValidatedLedgerAge(),
|
||||
context.app.getFeeTrack(),
|
||||
context.ledgerMaster.getCurrentLedger());
|
||||
}
|
||||
|
||||
} // ripple
|
||||
|
||||
Reference in New Issue
Block a user