Skip to content

Commit

Permalink
ragnorok
Browse files Browse the repository at this point in the history
  • Loading branch information
quarkonium committed Jun 17, 2018
1 parent 59d7285 commit 8b269c2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
9 changes: 3 additions & 6 deletions src/rpcwallet.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -175,14 +175,11 @@ Value getnewaddress(const Array& params, bool fHelp)

CKeyID keyID = newKey.GetID();

if(strAccount == "sparechange")
BOOST_FOREACH(const PAIRTYPE(cba, string)& item, pwalletMain->mapAddressBook)
{
BOOST_FOREACH(const PAIRTYPE(cba, string)& item, pwalletMain->mapAddressBook)
if(item.second == strAccount)
{
if(item.second == strAccount)
{
pwalletMain->SetAddressBookName(item.first.Get(), "");
}
pwalletMain->SetAddressBookName(item.first.Get(), "");
}
}

Expand Down
2 changes: 1 addition & 1 deletion src/version.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ const std::string CLIENT_NAME("Satoshi");
// git will put "#define GIT_ARCHIVE 1" on the next line inside archives.
#define GIT_ARCHIVE 1
#ifdef GIT_ARCHIVE
# define GIT_COMMIT_ID "2bebed7"
# define GIT_COMMIT_ID "59d7285"
# define GIT_COMMIT_DATE "$Format:%cD"
#endif

Expand Down

0 comments on commit 8b269c2

Please sign in to comment.