From f728b0b90162f153b3094ce034f4fd3bccfea6a1 Mon Sep 17 00:00:00 2001 From: CryptoManiac Date: Mon, 22 Feb 2016 02:37:42 +0300 Subject: [PATCH] Allow generation of keypairs for mainNet clients since 20 March, 2016 --- src/rpcwallet.cpp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/rpcwallet.cpp b/src/rpcwallet.cpp index 1353149..5ebff9c 100644 --- 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(); -- 1.7.1