diff --git a/internal/db/delegation.go b/internal/db/delegation.go index 48a3779..8d1cb87 100644 --- a/internal/db/delegation.go +++ b/internal/db/delegation.go @@ -159,10 +159,10 @@ func (db *Database) UpdateDelegationsStateByFinalityProvider( return fmt.Errorf("failed to update delegations: %w", err) } - log.Printf("Updated %d delegations for finality provider %s from states %v to %s", + log.Printf("Updated %d delegations for finality provider %s to state %s", result.ModifiedCount, fpBTCPKHex, - newState, + newState.String(), ) return nil }