mirror of
https://github.com/twisterarmy/twister-core.git
synced 2025-01-11 15:27:57 +00:00
Merge remote branch 'refs/remotes/svn/trunk' into svn
This commit is contained in:
commit
de374ba6b1
2
main.cpp
2
main.cpp
@ -929,7 +929,7 @@ bool CheckProofOfWork(uint256 hash, unsigned int nBits)
|
|||||||
|
|
||||||
bool IsInitialBlockDownload()
|
bool IsInitialBlockDownload()
|
||||||
{
|
{
|
||||||
if (pindexBest == NULL || nBestHeight < 74000)
|
if (pindexBest == NULL || (!fTestNet && nBestHeight < 74000))
|
||||||
return true;
|
return true;
|
||||||
static int64 nLastUpdate;
|
static int64 nLastUpdate;
|
||||||
static CBlockIndex* pindexLastBest;
|
static CBlockIndex* pindexLastBest;
|
||||||
|
4
ui.cpp
4
ui.cpp
@ -1928,6 +1928,9 @@ void CSendDialog::OnButtonPaste(wxCommandEvent& event)
|
|||||||
}
|
}
|
||||||
|
|
||||||
void CSendDialog::OnButtonSend(wxCommandEvent& event)
|
void CSendDialog::OnButtonSend(wxCommandEvent& event)
|
||||||
|
{
|
||||||
|
static CCriticalSection cs_sendlock;
|
||||||
|
TRY_CRITICAL_BLOCK(cs_sendlock)
|
||||||
{
|
{
|
||||||
CWalletTx wtx;
|
CWalletTx wtx;
|
||||||
string strAddress = (string)m_textCtrlAddress->GetValue();
|
string strAddress = (string)m_textCtrlAddress->GetValue();
|
||||||
@ -1993,6 +1996,7 @@ void CSendDialog::OnButtonSend(wxCommandEvent& event)
|
|||||||
|
|
||||||
EndModal(true);
|
EndModal(true);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
void CSendDialog::OnButtonCancel(wxCommandEvent& event)
|
void CSendDialog::OnButtonCancel(wxCommandEvent& event)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user