istox 0.1.47 → 0.1.48
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 +2 -2
- 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: 23f63bef87fe6f65e26f69352f1af3abfb4ffc189fb50a4a481ba225d4c70d62
|
4
|
+
data.tar.gz: b3a77c5a519307a82331b7267cb576c503a424624f59c4a68ab97dbf2f3c5679
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9c53f7b073333bd4477379856e71196ca5ab7f6b26a3b05ecec30ea3c92e23defc415d3c6013f5821b4ad8c29877870f48beaab40dffcca7b358f0348c42d9d9
|
7
|
+
data.tar.gz: 5ea1ef32ab6b28594c142cb850f3473ad583e70119f9ad93646a36cdca0d53be20403cb6ede5c8c4f12657e36c70e85f949c917e19baa1bb401516046a6ddbf7
|
@@ -18,8 +18,6 @@ module Istox
|
|
18
18
|
transactions.each do |transaction|
|
19
19
|
receipt = ::Istox::BlockchainReceipt.where(txhash: transaction.id).first
|
20
20
|
|
21
|
-
receipt_list = get_receipt_list
|
22
|
-
|
23
21
|
next if !(%w[failed confirmed pending].include?(transaction.status))
|
24
22
|
receipt.update!(status: transaction.status)
|
25
23
|
|
@@ -30,6 +28,8 @@ module Istox
|
|
30
28
|
next
|
31
29
|
end
|
32
30
|
|
31
|
+
receipt_list = get_receipt_list(resource)
|
32
|
+
|
33
33
|
next if resource_handled?(receipt_list)
|
34
34
|
|
35
35
|
if transaction.status == 'confirmed'
|
data/lib/istox/version.rb
CHANGED