mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-15 12:51:00 +02:00
Pass NodeContext, ConnMan, BanMan references more places
So g_connman and g_banman globals can be removed next commit.
This commit is contained in:
parent
4d5448c76b
commit
e6f4f895d5
34 changed files with 154 additions and 62 deletions
|
|
@ -41,7 +41,7 @@ void RPCNestedTests::rpcNestedTests()
|
|||
std::string result;
|
||||
std::string result2;
|
||||
std::string filtered;
|
||||
auto node = interfaces::MakeNode();
|
||||
interfaces::Node* node = &m_node;
|
||||
RPCConsole::RPCExecuteCommandLine(*node, result, "getblockchaininfo()[chain]", &filtered); //simple result filtering with path
|
||||
QVERIFY(result=="main");
|
||||
QVERIFY(filtered == "getblockchaininfo()[chain]");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue