Merge pull request #1037 from gavinandresen/addmultisigenable

Enable addmultisigaddress RPC call for main network
This commit is contained in:
Gavin Andresen 2012-04-05 07:34:19 -07:00
commit ea2cc8fc4a

View File

@ -986,8 +986,6 @@ Value addmultisigaddress(const Array& params, bool fHelp)
"If [account] is specified, assign address to [account]."; "If [account] is specified, assign address to [account].";
throw runtime_error(msg); throw runtime_error(msg);
} }
if (!fTestNet)
throw runtime_error("addmultisigaddress available only when running -testnet\n");
int nRequired = params[0].get_int(); int nRequired = params[0].get_int();
const Array& keys = params[1].get_array(); const Array& keys = params[1].get_array();