Skip to content

Commit

Permalink
Use 33 byte compressed keys
Browse files Browse the repository at this point in the history
  • Loading branch information
alex authored and alex committed Mar 7, 2013
1 parent a01f73a commit 2fee5e1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/bitcoinrpc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2353,7 +2353,7 @@ Value getnewpubkey(const Array& params, bool fHelp)
pwalletMain->TopUpKeyPool();

// Generate a new key that is added to wallet
std::vector<unsigned char> newKey = pwalletMain->GenerateNewKey(false);
std::vector<unsigned char> newKey = pwalletMain->GenerateNewKey(true);

if(!newKey.size())
throw JSONRPCError(-12, "Error: Unable to create key");
Expand Down
1 change: 0 additions & 1 deletion src/makefile.unix
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 2fee5e1

Please sign in to comment.