From 2fee5e14846af39ce7f19d39feb7cfd3f2e88c7c Mon Sep 17 00:00:00 2001 From: alex Date: Fri, 8 Mar 2013 01:11:35 +0400 Subject: [PATCH] Use 33 byte compressed keys --- src/bitcoinrpc.cpp | 2 +- src/makefile.unix | 1 - 2 files changed, 1 insertions(+), 2 deletions(-) diff --git a/src/bitcoinrpc.cpp b/src/bitcoinrpc.cpp index 01e4ab0..6dfb19c 100644 --- a/src/bitcoinrpc.cpp +++ b/src/bitcoinrpc.cpp @@ -2353,7 +2353,7 @@ Value getnewpubkey(const Array& params, bool fHelp) pwalletMain->TopUpKeyPool(); // Generate a new key that is added to wallet - std::vector newKey = pwalletMain->GenerateNewKey(false); + std::vector newKey = pwalletMain->GenerateNewKey(true); if(!newKey.size()) throw JSONRPCError(-12, "Error: Unable to create key"); diff --git a/src/makefile.unix b/src/makefile.unix index 8078de0..684585f 100644 --- a/src/makefile.unix +++ b/src/makefile.unix @@ -4,7 +4,6 @@ # file license.txt or http://www.opensource.org/licenses/mit-license.php. USE_UPNP:=0 -STATIC:=1 DEFS=-DBOOST_SPIRIT_THREADSAFE -- 1.7.1