diff options
author | Matt Corallo <git@bluematt.me> | 2015-04-24 18:27:30 -0700 |
---|---|---|
committer | Matt Corallo <git@bluematt.me> | 2015-06-11 01:03:23 -0700 |
commit | 21bbd920e5cc02dae5e75795c1f0bbfba9a41b53 (patch) | |
tree | 0d19c14fe84346df6c0aef5169bec725cd71552e /src/test/rpc_wallet_tests.cpp | |
parent | 1e0d1a2ff02982d6ffe61e70b027c56f3bf22d0b (diff) |
Add fundrawtransaction RPC method
Diffstat (limited to 'src/test/rpc_wallet_tests.cpp')
-rw-r--r-- | src/test/rpc_wallet_tests.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/test/rpc_wallet_tests.cpp b/src/test/rpc_wallet_tests.cpp index a72b656100..9368963ff2 100644 --- a/src/test/rpc_wallet_tests.cpp +++ b/src/test/rpc_wallet_tests.cpp @@ -217,6 +217,12 @@ BOOST_AUTO_TEST_CASE(rpc_wallet) UniValue arr = retValue.get_array(); BOOST_CHECK(arr.size() > 0); BOOST_CHECK(CBitcoinAddress(arr[0].get_str()).Get() == demoAddress.Get()); + + /********************************* + * fundrawtransaction + *********************************/ + BOOST_CHECK_THROW(CallRPC("fundrawtransaction 28z"), runtime_error); + BOOST_CHECK_THROW(CallRPC("fundrawtransaction 01000000000180969800000000001976a91450ce0a4b0ee0ddeb633da85199728b940ac3fe9488ac00000000"), runtime_error); } BOOST_AUTO_TEST_SUITE_END() |