From c3bd36ff01859a19ca32342dd21a6e00cc053553 Mon Sep 17 00:00:00 2001 From: Christopher Vollick <0@psycoti.ca> Date: Tue, 27 May 2025 12:06:06 -0400 Subject: [PATCH] Integrate Small Change from Prod One was just a typo that obviously should be fixed here, and the other is a small policy change. Compared to upstream hotfix, spaces and parens were added to keep rubocop happy. --- bin/process_pending_btc_transactions | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bin/process_pending_btc_transactions b/bin/process_pending_btc_transactions index ae22de0313d071c31004515c9999b563671c13d9..e5944b45db0ad7ea1ed2a5d03ce968fdd4c5b99e 100755 --- a/bin/process_pending_btc_transactions +++ b/bin/process_pending_btc_transactions @@ -169,7 +169,7 @@ class Customer def notify(body, onboarding_body=nil) jid = REDIS.get("jmp_customer_jid-#{@customer_id}") - raise "No JID for #{customer_id}" unless jid + raise "No JID for #{@customer_id}" unless jid if jid =~ /onboarding.cheogram.com/ && onboarding_body body = onboarding_body @@ -197,7 +197,8 @@ class Customer @customer_id, txid, fiat_amount, - "Cryptocurrency payment" + "Cryptocurrency payment", + settled_after: Time.now + (5 * 24 * 60 * 60) ) return unless tx.save