onchain 1.4.1 → 1.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/onchain/block_chain.rb +4 -5
- data/lib/onchain/providers/chaincom_api.rb +1 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 187cd9c53d74772ea08a6ef5b63eb50af54ac3c4
|
4
|
+
data.tar.gz: a41ce962e65b1d50b79e63102ac611475b3208f8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ea3df800f3ddeb607957386ec55048e0359bd15564c63378fc963b09443a00fe554f304491621f7c910303dafb8d38e58298d28455e26f8bd6c08bcd4c22bb54
|
7
|
+
data.tar.gz: d580731378ee00b8791fc59184b3981c6f1935359711045ed9bc970d735713abcb2d2b22dad2b2eba273522194c6aa432094eacc0008c4cd6a8aba875b48e660
|
data/lib/onchain/block_chain.rb
CHANGED
@@ -84,19 +84,18 @@ class OnChain::BlockChain
|
|
84
84
|
ALL_SUPPLIERS.each do |supplier|
|
85
85
|
if cache_read(supplier.to_s) == nil
|
86
86
|
|
87
|
-
if supplier == :blockinfo and method_name == 'send_tx'
|
87
|
+
if supplier == :blockinfo and method_name.to_s == 'send_tx'
|
88
88
|
next
|
89
89
|
end
|
90
90
|
|
91
|
-
if supplier == :blockinfo and method_name == 'get_transactions'
|
91
|
+
if supplier == :blockinfo and method_name.to_s == 'get_transactions'
|
92
92
|
next
|
93
93
|
end
|
94
94
|
|
95
|
-
if supplier == :blockr and method_name == 'address_history'
|
95
|
+
if supplier == :blockr and method_name.to_s == 'address_history'
|
96
96
|
next
|
97
97
|
end
|
98
|
-
|
99
|
-
if supplier == :blockr and method_name == 'get_history_for_addresses'
|
98
|
+
if supplier == :blockr and method_name.to_s == 'get_history_for_addresses'
|
100
99
|
next
|
101
100
|
end
|
102
101
|
|