Fix NewHeader epoch setting

pull/1547/head
Rongjian Lan 5 years ago
parent 0c9af471f7
commit b00903279f
  1. 1
      block/factory/factory.go

@ -33,6 +33,7 @@ func (f *factory) NewHeader(epoch *big.Int) *block.Header {
default:
impl = v0.NewHeader()
}
impl.SetEpoch(epoch)
return &block.Header{impl}
}

Loading…
Cancel
Save