git://git.novaco.in
/
novacoin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
f92456a
)
Allow generation of keypairs for mainNet clients since 20 March, 2016
author
CryptoManiac
<balthazar@yandex.ru>
Sun, 21 Feb 2016 23:37:42 +0000 (
02:37
+0300)
committer
CryptoManiac
<balthazar@yandex.ru>
Sun, 21 Feb 2016 23:37:42 +0000 (
02:37
+0300)
src/rpcwallet.cpp
patch
|
blob
|
history
diff --git
a/src/rpcwallet.cpp
b/src/rpcwallet.cpp
index
1353149
..
5ebff9c
100644
(file)
--- a/
src/rpcwallet.cpp
+++ b/
src/rpcwallet.cpp
@@
-1896,7
+1896,7
@@
Value newmalleablekey(const Array& params, bool fHelp)
"newmalleablekey\n"
"Make a malleable public/private key pair.\n");
- if (!fTestNet)
+ if (!fTestNet && GetTime() < SMALLDATA_SWITCH_TIME)
throw runtime_error("This feature has been disabled for mainNet clients");
CMalleableKeyView keyView = pwalletMain->GenerateNewMalleableKey();