mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Inject Application:
Calls to getApp are replaced with dependency injections.
This commit is contained in:
committed by
Edward Hennis
parent
f4fe55caff
commit
9b787434c9
@@ -27,11 +27,12 @@
|
||||
|
||||
namespace ripple {
|
||||
|
||||
ApplyContext::ApplyContext(
|
||||
ApplyContext::ApplyContext(Application& app_,
|
||||
OpenView& base, STTx const& tx_,
|
||||
ApplyFlags flags, Config const& config_,
|
||||
beast::Journal journal_)
|
||||
: tx (tx_)
|
||||
: app(app_)
|
||||
, tx (tx_)
|
||||
, config (config_)
|
||||
, journal(journal_)
|
||||
, base_ (base)
|
||||
|
||||
Reference in New Issue
Block a user