git://git.novaco.in
/
novacoin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
bc441c9
)
This check is excessive since we don't support walletless mode for now.
author
CryptoManiac
<balthazar@yandex.ru>
Sat, 7 May 2016 19:54:12 +0000 (22:54 +0300)
committer
CryptoManiac
<balthazar@yandex.ru>
Sat, 7 May 2016 19:54:12 +0000 (22:54 +0300)
src/rpcwallet.cpp
patch
|
blob
|
history
diff --git
a/src/rpcwallet.cpp
b/src/rpcwallet.cpp
index
7371fa2
..
ef9276c
100644
(file)
--- a/
src/rpcwallet.cpp
+++ b/
src/rpcwallet.cpp
@@
-1754,7
+1754,7
@@
Value validateaddress(const Array& params, bool fHelp)
auto currentAddress = address.ToString();
auto dest = address.Get();
ret.push_back(Pair("address", currentAddress));
- auto mine = pwalletMain ? IsMine(*pwalletMain, address) : MINE_NO;
+ auto mine = IsMine(*pwalletMain, address);
ret.push_back(Pair("ismine", mine != MINE_NO));
if (mine != MINE_NO) {
ret.push_back(Pair("watchonly", mine == MINE_WATCH_ONLY));