block: replace Base
with Header
This commit is contained in:
parent
4df8a2ad36
commit
f83b376181
25 changed files with 292 additions and 340 deletions
|
@ -1506,7 +1506,7 @@ func (e *executor) getHeader(s string) *block.Header {
|
|||
if err != nil {
|
||||
panic("unknown block (update block hash)")
|
||||
}
|
||||
return block.Header()
|
||||
return &block.Header
|
||||
}
|
||||
|
||||
func encodeBlock(t *testing.T, b *block.Block) string {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue