Skip to content

Commit

Permalink
v2.7.3
Browse files Browse the repository at this point in the history
  • Loading branch information
niels1286 committed Nov 20, 2020
1 parent 031a228 commit d06e606
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -684,7 +684,7 @@ public TxPackage getPackableTxs(Chain chain, long endtimestamp, long maxTxDataSi
//放回可打包交易和孤儿
putBackPackablePool(chain, packingTxList, orphanTxSet);
//直接打空块
return new TxPackage(new ArrayList<>(), preStateRoot, chain.getBestBlockHeight() + 1);
return new TxPackage(new ArrayList<>(), null, chain.getBestBlockHeight() + 1);
}
//如果本地最新区块+1 大于当前在打包区块的高度, 说明本地最新区块已更新,需要重新打包,把取出的交易放回到打包队列
if (blockHeight < chain.getBestBlockHeight() + 1) {
Expand Down

0 comments on commit d06e606

Please sign in to comment.