Skip to content

Commit

Permalink
#457 off
Browse files Browse the repository at this point in the history
  • Loading branch information
davvd committed Aug 24, 2023
1 parent 500fe16 commit 19e42a2
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion front/front_btc.rb
Original file line number Diff line number Diff line change
Expand Up @@ -465,7 +465,6 @@ def referrals(log: settings.log)
raise WTS::UserError, 'E129: You are not allowed to use this, only yegor256' unless user.login == 'yegor256'
btc = params[:amount].to_f
raise WTS::UserError, "E219: The amount #{btc} BTC is too small" if btc < 0.01
raise WTS::UserError, "E220: The amount #{btc} BTC is too large" if btc > 0.2
address = params[:address].strip
job(exclusive: true) do |jid, log|
log.info("Sending cold #{btc} BTC from #{address} to a random hot one...")
Expand Down

0 comments on commit 19e42a2

Please sign in to comment.