Skip to content

Commit b540d38

Browse files
committed
chore: add disperser id logging when reject ondemand
1 parent 8928e15 commit b540d38

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

node/grpc/server_v2.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ func (s *ServerV2) StoreChunks(ctx context.Context, in *pb.StoreChunksRequest) (
143143
if meterer.IsOnDemandPayment(&blob.BlobHeader.PaymentMetadata) {
144144
// Batch contains on-demand payments, so the chunk must be from EigenLabsDisperser
145145
if in.DisperserID != api.EigenLabsDisperserID {
146-
return nil, api.NewErrorInvalidArg("on-demand payments are only allowed for EigenLabsDisperser")
146+
return nil, api.NewErrorInvalidArg("on-demand payments are only allowed for EigenLabsDisperser; receiving disperser ID: %s", in.DisperserID)
147147
}
148148
}
149149
}

0 commit comments

Comments
 (0)