diff options
| author | Andrew Chow <[email protected]> | 2017-06-12 12:23:02 -0700 |
|---|---|---|
| committer | Andrew Chow <[email protected]> | 2018-02-17 11:42:00 -0500 |
| commit | 1e79c055cd30d21ba5f8c7f81ef911d5d4e295a8 (patch) | |
| tree | 22c28017f71d4f9b0dddb77cc41e733095ec84a2 /src/qt/test | |
| parent | Merge #10583: [RPC] Split part of validateaddress into getaddressinfo (diff) | |
| download | discoin-1e79c055cd30d21ba5f8c7f81ef911d5d4e295a8.tar.xz discoin-1e79c055cd30d21ba5f8c7f81ef911d5d4e295a8.zip | |
Split signrawtransaction into wallet and non-wallet
Splits signrwatransaction into a wallet version (signrawtransactionwithwallet) and
non-wallet version (signrawtransactionwithkey). signrawtransaction is marked as DEPRECATED
and will call the right signrawtransaction* command as per the parameters in order to
maintain compatibility.
Updated signrawtransactions test to use new RPCs
Diffstat (limited to 'src/qt/test')
| -rw-r--r-- | src/qt/test/rpcnestedtests.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qt/test/rpcnestedtests.cpp b/src/qt/test/rpcnestedtests.cpp index aaec15cc1..9d0e0b97d 100644 --- a/src/qt/test/rpcnestedtests.cpp +++ b/src/qt/test/rpcnestedtests.cpp @@ -82,8 +82,8 @@ void RPCNestedTests::rpcNestedTests() QVERIFY(filtered == "signmessagewithprivkey(…)"); RPCConsole::RPCParseCommandLine(result, "signmessagewithprivkey abc,def", false, &filtered); QVERIFY(filtered == "signmessagewithprivkey(…)"); - RPCConsole::RPCParseCommandLine(result, "signrawtransaction(abc)", false, &filtered); - QVERIFY(filtered == "signrawtransaction(…)"); + RPCConsole::RPCParseCommandLine(result, "signrawtransactionwithkey(abc)", false, &filtered); + QVERIFY(filtered == "signrawtransactionwithkey(…)"); RPCConsole::RPCParseCommandLine(result, "walletpassphrase(help())", false, &filtered); QVERIFY(filtered == "walletpassphrase(…)"); RPCConsole::RPCParseCommandLine(result, "walletpassphrasechange(help(walletpassphrasechange(abc)))", false, &filtered); |