[lbry] mining: calculate claimtrie root hash for generate RPC
This commit is contained in:
parent
6784830246
commit
e0870db24e
1 changed files with 5 additions and 0 deletions
|
@ -843,6 +843,11 @@ mempoolLoop:
|
|||
// chain with no issues.
|
||||
block := btcutil.NewBlock(&msgBlock)
|
||||
block.SetHeight(nextBlockHeight)
|
||||
|
||||
if err := g.chain.SetClaimtrieHeader(block, blockUtxos); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
if err := g.chain.CheckConnectBlockTemplate(block); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue