func (b *backend) initPaywallChecker() error {
	if b.cfg.PaywallAmount == 0 {
		// Paywall not configured.
		return nil
	}

	err := b.addUsersToPaywallPool()
	if err != nil {
		return err
	}

	// Start the thread that checks for payments.
	go b.checkForPayments()
	return nil
}
// initPaywallCheck is intended to be called
initPaywallCheck is intended to be called
// initPaywallCheck is intended to be called
func (b *backend) initPaywallChecker() error {
	if b.cfg.PaywallAmount == 0 {
		return nil
	}
	err := b.addUsersToPaywallPool()
	if err != nil {
		return err
	}
	go b.checkForPayments()
	return nil
}
func ( b * backend ) initPaywallChecker ( ) error { if b . cfg . PaywallAmount == 0 { return nil } err := b . addUsersToPaywallPool ( ) if err != nil { return err } go b . checkForPayments ( ) return nil }
initPaywallCheck is intended to be called
initPaywallCheck is intended to be called
// Paywall not configured. // Start the thread that checks for payments.