diff options
author | Determinant <[email protected]> | 2020-09-18 13:11:39 -0400 |
---|---|---|
committer | Determinant <[email protected]> | 2020-09-18 13:11:39 -0400 |
commit | 7d8c85cf8895b0f998d8eafb02f99d5b689fcd59 (patch) | |
tree | 1a7f65fcd72e77092525ab01625b8b9d365e3e40 /consensus/dummy | |
parent | aa4852662bcb45607a82ed115ac57d72a16b304b (diff) | |
parent | 3ea6a7940e40677b629270dfc7a1466bca295bd3 (diff) |
Merge commit '3ea6a79' into dev
Diffstat (limited to 'consensus/dummy')
-rw-r--r-- | consensus/dummy/consensus.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/consensus/dummy/consensus.go b/consensus/dummy/consensus.go index 42e224d..da63673 100644 --- a/consensus/dummy/consensus.go +++ b/consensus/dummy/consensus.go @@ -262,10 +262,10 @@ func (self *DummyEngine) Finalize( func (self *DummyEngine) FinalizeAndAssemble(chain consensus.ChainHeaderReader, header *types.Header, state *state.StateDB, txs []*types.Transaction, uncles []*types.Header, receipts []*types.Receipt) (*types.Block, error) { - var extdata *[]byte + var extdata []byte if self.cb.OnFinalizeAndAssemble != nil { ret, err := self.cb.OnFinalizeAndAssemble(state, txs) - extdata = &ret + extdata = ret if err != nil { return nil, err } |