(ctx context.Context, hash common.Hash)
| 110 | } |
| 111 | |
| 112 | func (b *APIBackend) GetBlock(ctx context.Context, hash common.Hash) (*types.Block, error) { |
| 113 | return b.cpc.blockchain.GetBlockByHash(hash), nil |
| 114 | } |
| 115 | |
| 116 | func (b *APIBackend) GetReceipts(ctx context.Context, hash common.Hash) (types.Receipts, error) { |
| 117 | if number := rawdb.ReadHeaderNumber(b.cpc.chainDb, hash); number != nil { |
nothing calls this directly
no test coverage detected