lib/bitbot/plugin/withdraw.rb in tipjar-0.1.195 vs lib/bitbot/plugin/withdraw.rb in tipjar-0.1.196
- old
+ new
@@ -12,24 +12,23 @@
# *appears* to fail. It might look like it failed, but really
# succeed, letting someone withdraw money twice.
begin
db.create_transaction_from_withdrawal(user_id, satoshi, withdrawal_fee, address)
rescue Bitbot::InsufficientFundsError
- m.reply "You don't have enough to withdraw #{satoshi_to_str(satoshi)} + 0.0005 tx fee"
+ m.reply "You don't have enough to withdraw #{satoshi_to_str(satoshi)} + 0.0005 fee"
return
end
response = blockchain.create_payment(address, satoshi, withdrawal_fee)
if response["tx_hash"]
m.reply "Sent #{satoshi_with_usd(satoshi)} to #{address.irc(:bold)} " +
"in transaction #{response["tx_hash"].irc(:grey)}."
else
m.reply "Something may have gone wrong with your withdrawal. Please contact " +
- "your friendly TipJar admin to investigate where your money is."
+ "your friendly TipJar administrator to investigate where your money is."
end
else
m.reply "Usage: withdraw <amount in BTC> <address>"
m.reply "#{satoshi_to_str(withdrawal_fee)} BTC will also be withdrawn for the transaction fee."
end
end
end
-