diff options
author | Determinant <[email protected]> | 2020-08-19 20:32:18 -0400 |
---|---|---|
committer | Determinant <[email protected]> | 2020-08-19 20:32:18 -0400 |
commit | 1e9599e88a5d88e0090b0ebddfae756e343e605a (patch) | |
tree | 92300da4e82db8755ea07f84be61def1079e2840 /core/rawdb | |
parent | ec103c07738b3db70501dee7a7da113edbb68875 (diff) |
make the basic X-to-C logic work
Diffstat (limited to 'core/rawdb')
-rw-r--r-- | core/rawdb/accessors_chain.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/rawdb/accessors_chain.go b/core/rawdb/accessors_chain.go index 7620eac..fdfd6ec 100644 --- a/core/rawdb/accessors_chain.go +++ b/core/rawdb/accessors_chain.go @@ -475,7 +475,7 @@ func ReadBlock(db ethdb.Reader, hash common.Hash, number uint64) *types.Block { if body == nil { return nil } - return types.NewBlockWithHeader(header).WithBody(body.Transactions, body.Uncles) + return types.NewBlockWithHeader(header).WithBody(body.Transactions, body.Uncles, body.Version, body.ExtData) } // WriteBlock serializes a block into the database, header and body separately. |