git://git.novaco.in
/
novacoin.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Get rid of some useless-cast
[novacoin.git]
/
src
/
rpcwallet.cpp
diff --git
a/src/rpcwallet.cpp
b/src/rpcwallet.cpp
index
260cc57
..
60ef03e
100644
(file)
--- 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;