istox 0.1.47 → 0.1.48

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d553a8819f4bb3eeb96adf6bf8be54c65628ac09bac71a02115e0b0dbb6a5060
4
- data.tar.gz: 1608032af0e26b140c7138809151e5dc0a69d6340c74960a73efcde074dc8f04
3
+ metadata.gz: 23f63bef87fe6f65e26f69352f1af3abfb4ffc189fb50a4a481ba225d4c70d62
4
+ data.tar.gz: b3a77c5a519307a82331b7267cb576c503a424624f59c4a68ab97dbf2f3c5679
5
5
  SHA512:
6
- metadata.gz: cb8306f48d4fbfbf81eebc52d9af1b6276072ade30950122748fbd719676ac40120104798efc324912f0f072a55d2311e0ed42a1a42d5094ab84bead40a8c291
7
- data.tar.gz: 1edaf617d3145042c880b15f34e6936df0107b44ec38f8c63df9e046bc39d48f3c52a3a5e0aa36c8b5f030306ae9ceee0fa65cc8ad8658f9a85bfb9db9eb7649
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'
@@ -1,3 +1,3 @@
1
1
  module Istox
2
- VERSION = "0.1.47"
2
+ VERSION = "0.1.48"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: istox
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.47
4
+ version: 0.1.48
5
5
  platform: ruby
6
6
  authors:
7
7
  - Siong Leng