fix: build

This commit is contained in:
marcello33 2024-11-08 18:25:39 +01:00
parent 422122815c
commit 2af775c1f8
No known key found for this signature in database
GPG key ID: 06128777E3C36B16

View file

@ -60,7 +60,7 @@ func blockToProtoBlock(h *types.Block) *protobor.Block {
} }
func (s *Server) TransactionReceipt(ctx context.Context, req *protobor.ReceiptRequest) (*protobor.ReceiptResponse, error) { func (s *Server) TransactionReceipt(ctx context.Context, req *protobor.ReceiptRequest) (*protobor.ReceiptResponse, error) {
_, blockHash, _, txnIndex, err := s.backend.APIBackend.GetTransaction(ctx, protoutil.ConvertH256ToHash(req.Hash)) _, _, blockHash, _, txnIndex, err := s.backend.APIBackend.GetTransaction(ctx, protoutil.ConvertH256ToHash(req.Hash))
if err != nil { if err != nil {
return nil, err return nil, err
} }