class StellarSpectrum::SendingPayment::GetSleepForRetry
Constants
- LEEWAY
- MAX
Public Class Methods
call(n)
click to toggle source
# File lib/stellar_spectrum/services/sending_payment/get_sleep_for_retry.rb, line 8 def self.call(n) fibo = Fibo.(n) return fibo if fibo < MAX MAX - LEEWAY end