From 647b3dcbc96568177708715fe41788b87cdda843 Mon Sep 17 00:00:00 2001 From: AJ Villalobos Date: Tue, 24 Apr 2018 11:29:46 +0800 Subject: [PATCH] Add last_id in NotifyTxReceipt data params --- app/services/notify_tx_receipt.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/services/notify_tx_receipt.rb b/app/services/notify_tx_receipt.rb index 44cb1cd..3975262 100644 --- a/app/services/notify_tx_receipt.rb +++ b/app/services/notify_tx_receipt.rb @@ -15,7 +15,9 @@ class NotifyTxReceipt address: address.address, amount: c.tx.amount, confirmations: c.tx.confirmations, + last_id: MessageBus.last_id(CHANNEL), } + MessageBus.publish CHANNEL, data.to_json end