From 352e76d3e16f1d4fc5a43fb85a7e39e2ec8a3982 Mon Sep 17 00:00:00 2001 From: jl777 Date: Tue, 29 Nov 2016 15:00:07 -0300 Subject: [PATCH] test --- src/miner.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/miner.cpp b/src/miner.cpp index 6d328b901..e7d107f9e 100644 --- a/src/miner.cpp +++ b/src/miner.cpp @@ -609,7 +609,7 @@ void static BitcoinMiner(CWallet *pwallet) } else Mining_start = 0; while (true) { - if ( ASSETCHAINS_SYMBOL[0] != 0 && txNew.vout.size() == 1 && Mining_height >= 100 ) + if ( ASSETCHAINS_SYMBOL[0] != 0 && pblock->vtx[0].vout.size() == 1 && Mining_height >= 100 ) { fprintf(stderr,"skip generating %s on-demand block, no tx avail\n",ASSETCHAINS_SYMBOL); break;