new getwork

git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@189 1a98c847-1fd6-4fd8-948a-caf3550aa51b
This commit is contained in:
s_nakamoto
2010-11-23 19:16:36 +00:00
parent e4ff4e6898
commit 776d0f3459
10 changed files with 467 additions and 252 deletions

4
ui.cpp
View File

@@ -1171,7 +1171,7 @@ void CMainFrame::OnButtonNew(wxCommandEvent& event)
string strName = dialog.GetValue();
// Generate new key
string strAddress = PubKeyToAddress(CWalletDB().GetKeyFromKeyPool());
string strAddress = PubKeyToAddress(GetKeyFromKeyPool());
// Save
SetAddressBookName(strAddress, strName);
@@ -2575,7 +2575,7 @@ void CAddressBookDialog::OnButtonNew(wxCommandEvent& event)
strName = dialog.GetValue();
// Generate new key
strAddress = PubKeyToAddress(CWalletDB().GetKeyFromKeyPool());
strAddress = PubKeyToAddress(GetKeyFromKeyPool());
}
// Add to list and select it