Skip to content

Commit

Permalink
refactor: rm log
Browse files Browse the repository at this point in the history
  • Loading branch information
hopeyen committed Nov 26, 2024
1 parent ea7f331 commit 8ea4f03
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions core/meterer/meterer.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ package meterer
import (
"context"
"fmt"
"log"
"slices"
"time"

Expand Down Expand Up @@ -72,7 +71,6 @@ func (m *Meterer) Start(ctx context.Context) {
// MeterRequest validates a blob header and adds it to the meterer's state
// TODO: return error if there's a rejection (with reasoning) or internal error (should be very rare)
func (m *Meterer) MeterRequest(ctx context.Context, header core.PaymentMetadata, numSymbols uint, quorumNumbers []uint8) error {
log.Println(m)
// Validate against the payment method
if header.CumulativePayment.Sign() == 0 {
reservation, err := m.ChainPaymentState.GetActiveReservationByAccount(ctx, header.AccountID)
Expand Down

0 comments on commit 8ea4f03

Please sign in to comment.