istox 0.1.43.5 → 0.1.43.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/istox/consumers/blockchain_status_handler.rb +4 -4
- data/lib/istox/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4e258459d79693a10ebea867061752ccf609c415df83bb2011c4218f68eda156
|
4
|
+
data.tar.gz: 8314a4eff96fc09876dd23a2bb6942ff788aaefd24d5d1b1aa756b8df8d4b34f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6b2d2e8fe5269963e3b2d6eaf9938c101c2186222466063645035a2d91b19c48608386ecb532b152ab96e31906ee5c74cf56fc9267dc2fd6d354092e6ed39774
|
7
|
+
data.tar.gz: da57d2d75f3f54a94698f8a4da65c9a5327f864ee36a7c3fb60c7c7e27d2ec67537f1726318a6c7d9e53b69250e3cdf8e833ff5cdc68b5c9e809df2efc80c9cd
|
@@ -73,7 +73,7 @@ module Istox
|
|
73
73
|
data: {
|
74
74
|
success: success,
|
75
75
|
purpose: receipt.activity,
|
76
|
-
txids:
|
76
|
+
txids: get_receipts_tx_hashes(receipt_list)
|
77
77
|
}
|
78
78
|
)
|
79
79
|
end
|
@@ -98,10 +98,10 @@ module Istox
|
|
98
98
|
yield(receipt, receipt.resource_name, receipt.resource_id, receipt.resource_action, receipt.sid)
|
99
99
|
end
|
100
100
|
|
101
|
-
def
|
102
|
-
|
101
|
+
def get_receipts_tx_hashes(receipt_list)
|
102
|
+
tx_hashes = receipt_list.map(&:txhash).compact
|
103
103
|
|
104
|
-
|
104
|
+
tx_hashes.join(', ')
|
105
105
|
end
|
106
106
|
|
107
107
|
def receipt_handled?(receipt_list)
|
data/lib/istox/version.rb
CHANGED