Skip to content
Bitcoin Roots

v31.1-roots.1 · Commit 6: [PATCH 06/17] feat(wallet): preserve Roots signing and spend controls on v31

src/qt/test/rpcnestedtests.cpp

Before: src/qt/test/rpcnestedtests.cpp · After: src/qt/test/rpcnestedtests.cpp

File metadata
index 18f4fc1eef56ffc5aa7935f1bbaaa46ef85dd5f3..db361818d6813e7da17bcd8739b3cc5089e02996 100644

Download original patch · Release notes

Diff rows 1–8 of 8. Line numbers refer to the original before/after files.

+ Added− RemovedUnmarked lines are context.

Scroll the code area horizontally to read long lines. Before is on the left; after is on the right. Unified view fits narrow screens more easily.

src/qt/test/rpcnestedtests.cpp CHANGED
@@ -97,6 +97,8 @@ void RPCNestedTests::rpcNestedTests()
97
  QVERIFY(filtered == "signmessagewithprivkey(…)");
98
  RPCConsole::RPCParseCommandLine(nullptr, result, "signrawtransactionwithkey(abc)", false, &filtered);
99
  QVERIFY(filtered == "signrawtransactionwithkey(…)");
 
 
100
  RPCConsole::RPCParseCommandLine(nullptr, result, "walletpassphrase(help())", false, &filtered);
101
  QVERIFY(filtered == "walletpassphrase(…)");
102
  RPCConsole::RPCParseCommandLine(nullptr, result, "walletpassphrasechange(help(walletpassphrasechange(abc)))", false, &filtered);
 
97
  QVERIFY(filtered == "signmessagewithprivkey(…)");
98
  RPCConsole::RPCParseCommandLine(nullptr, result, "signrawtransactionwithkey(abc)", false, &filtered);
99
  QVERIFY(filtered == "signrawtransactionwithkey(…)");
100
+ RPCConsole::RPCParseCommandLine(nullptr, result, "sweepprivkeys([sentinel], destination)", false, &filtered);
101
+ QVERIFY(filtered == "sweepprivkeys(…)");
102
  RPCConsole::RPCParseCommandLine(nullptr, result, "walletpassphrase(help())", false, &filtered);
103
  QVERIFY(filtered == "walletpassphrase(…)");
104
  RPCConsole::RPCParseCommandLine(nullptr, result, "walletpassphrasechange(help(walletpassphrasechange(abc)))", false, &filtered);