|
|
@ -22,14 +22,7 @@ createArgs(int nRequired, const char* address1=NULL, const char* address2=NULL) |
|
|
|
return result; |
|
|
|
return result; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// This can be removed this when addmultisigaddress is enabled on main net:
|
|
|
|
BOOST_AUTO_TEST_CASE(rpc_addmultisig) |
|
|
|
struct TestNetFixture |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
TestNetFixture() { fTestNet = true; } |
|
|
|
|
|
|
|
~TestNetFixture() { fTestNet = false; } |
|
|
|
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
BOOST_FIXTURE_TEST_CASE(rpc_addmultisig, TestNetFixture) |
|
|
|
|
|
|
|
{ |
|
|
|
{ |
|
|
|
rpcfn_type addmultisig = tableRPC["addmultisigaddress"]->actor; |
|
|
|
rpcfn_type addmultisig = tableRPC["addmultisigaddress"]->actor; |
|
|
|
|
|
|
|
|
|
|
|