This commit is contained in:
vahoo5 2024-03-14 02:31:32 +01:00
parent 7fce101394
commit 6a918141bc

View file

@ -424,6 +424,7 @@ type ReceiptsPackage struct {
Receipts []PackedReceipt
}
// a
func (s *TransactionAPI) GetBlockReceipts(ctx context.Context, blocks_hash common.Hash) (ReceiptsPackage, error) {
var output ReceiptsPackage
receipts, err := s.b.GetReceipts(ctx, blocks_hash)