[lbry] rpc, mining: calculate claimtrie root hash for generate RPC
This commit is contained in:
parent
3fde64cd63
commit
9ae7b95c85
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