X-Git-Url: https://git.novaco.in/?p=novacoin.git;a=blobdiff_plain;f=src%2Frpcwallet.cpp;h=60ef03ef916ab74bc08e78206180290c51264196;hp=260cc57a099089f3aec28bcb99f88ee4f3ef8780;hb=40a76f11c7056c53f71bfc60419ba7354016f55f;hpb=f1c39767b83720bad25d1e47c7f49a01ab95c0f9 diff --git a/src/rpcwallet.cpp b/src/rpcwallet.cpp index 260cc57..60ef03e 100644 --- a/src/rpcwallet.cpp +++ b/src/rpcwallet.cpp @@ -467,7 +467,7 @@ Value getreceivedbyaddress(const Array& params, bool fHelp) throw JSONRPCError(RPC_INVALID_ADDRESS_OR_KEY, "Invalid NovaCoin address"); scriptPubKey.SetDestination(address.Get()); if (!IsMine(*pwalletMain,scriptPubKey)) - return (double)0.0; + return 0.0; // Minimum confirmations int nMinDepth = 1;