Update rpc client header

(cherry picked from commit 091fa517c9)
This commit is contained in:
Sam Ricotta
2022-08-02 00:23:55 +02:00
parent eb762cf5d7
commit 91b2a73833
16 changed files with 230 additions and 24 deletions
+1
View File
@@ -1182,6 +1182,7 @@ func (bs *mockBlockStore) LoadBlock(height int64) *types.Block { return bs.chain
func (bs *mockBlockStore) LoadBlockByHash(hash []byte) *types.Block {
return bs.chain[int64(len(bs.chain))-1]
}
func (bs *mockBlockStore) LoadBlockMetaByHash(hash []byte) *types.BlockMeta { return nil }
func (bs *mockBlockStore) LoadBlockMeta(height int64) *types.BlockMeta {
block := bs.chain[height-1]
return &types.BlockMeta{