Add fundrawtransaction RPC method

This commit is contained in:
Matt Corallo
2015-04-24 18:27:30 -07:00
committed by Jack Grigg
parent aa30f65502
commit 3d8013a01b
5 changed files with 65 additions and 0 deletions

View File

@@ -248,6 +248,12 @@ BOOST_AUTO_TEST_CASE(rpc_wallet)
}
BOOST_CHECK(!notFound);
/*********************************
* fundrawtransaction
*********************************/
BOOST_CHECK_THROW(CallRPC("fundrawtransaction 28z"), runtime_error);
BOOST_CHECK_THROW(CallRPC("fundrawtransaction 01000000000180969800000000001976a91450ce0a4b0ee0ddeb633da85199728b940ac3fe9488ac00000000"), runtime_error);
/*
* getblocksubsidy
*/