mirror of
https://github.com/jwinterm/myriadcoin.git
synced 2026-10-20 06:08:43 +02:00
Merge branch '0.4.x' into 0.5.x
Conflicts: src/bitcoinrpc.cpp
This commit is contained in:
+2
-1
@@ -3096,7 +3096,7 @@ public:
|
||||
|
||||
CBlock* CreateNewBlock(CReserveKey& reservekey)
|
||||
{
|
||||
CBlockIndex* pindexPrev = pindexBest;
|
||||
CBlockIndex* pindexPrev;
|
||||
|
||||
// Create new block
|
||||
auto_ptr<CBlock> pblock(new CBlock());
|
||||
@@ -3118,6 +3118,7 @@ CBlock* CreateNewBlock(CReserveKey& reservekey)
|
||||
CRITICAL_BLOCK(cs_main)
|
||||
CRITICAL_BLOCK(cs_mapTransactions)
|
||||
{
|
||||
pindexPrev = pindexBest;
|
||||
CTxDB txdb("r");
|
||||
|
||||
// Priority order to process transactions
|
||||
|
||||
Reference in New Issue
Block a user