get bonus amount from tx
1 files changed, 1 insertions(+), 1 deletions(-) M bin/process_pending_btc_transactions
M bin/process_pending_btc_transactions => bin/process_pending_btc_transactions +1 -1
@@ 176,7 176,7 @@ class Customer return unless tx.save tx.bonus&.save - notify_btc_credit(txid, btc_amount, fiat_amount, bonus) + notify_btc_credit(txid, btc_amount, fiat_amount, tx.bonus_amount) end def notify_btc_credit(txid, btc_amount, fiat_amount, bonus)