Use the new code.

This commit is contained in:
JoelKatz
2012-05-21 14:33:44 -07:00
parent 613c3fdca9
commit de76d6c98f
2 changed files with 29 additions and 29 deletions

View File

@@ -743,7 +743,7 @@ Json::Value RPCServer::doWalletCreate(Json::Value& params)
{
return obj;
}
else if (saSrcBalance < theConfig.FEE_CREATE + saInitialFunds)
else if (saSrcBalance < (saInitialFunds + theConfig.FEE_CREATE))
{
return JSONRPCError(500, "insufficent funds");
}