Skip to content

Commit

Permalink
fix: linter errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Ja7ad committed Sep 24, 2024
1 parent 56332ea commit 69265f3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions www/grpc/transaction.go
Original file line number Diff line number Diff line change
Expand Up @@ -129,12 +129,12 @@ func (s *transactionServer) GetRawTransaction(_ context.Context,
}

if err != nil {
return nil, status.Errorf(codes.Internal, err.Error())
return nil, status.Errorf(codes.Internal, "%s", err.Error())
}

data, err := trx.Bytes()
if err != nil {
return nil, status.Errorf(codes.Internal, err.Error())
return nil, status.Errorf(codes.Internal, "%s", err.Error())
}

return &pactus.GetRawTransactionResponse{
Expand Down

0 comments on commit 69265f3

Please sign in to comment.