OSDN Git Service

bug fix
authorshenao78 <shenao.78@163.com>
Wed, 30 Oct 2019 12:20:12 +0000 (20:20 +0800)
committershenao78 <shenao.78@163.com>
Wed, 30 Oct 2019 12:20:12 +0000 (20:20 +0800)
proposal/proposal.go

index 24f48f1..450bb74 100644 (file)
@@ -170,7 +170,7 @@ func applyTransactionFromSubProtocol(chain *protocol.Chain, view *state.UtxoView
 
        results, gasLeft := preValidateTxs(txs, chain, view, gasLeft)
        for _, result := range results {
-               if result.err != nil {
+               if result.err != nil && result.gasOnly {
                        continue
                }