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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0ef3d2c0181ca0e3f0f98643cf73f77c72ef93eb
4
- data.tar.gz: 40038f9e161a3230f993ccf18f2e4285a2477127
3
+ metadata.gz: 187cd9c53d74772ea08a6ef5b63eb50af54ac3c4
4
+ data.tar.gz: a41ce962e65b1d50b79e63102ac611475b3208f8
5
5
  SHA512:
6
- metadata.gz: 638dad249fef4309a6185351d8d46a6cb4f73c907ff6fa61aae7759dd2bb36138071d649855252b64a55efb50bcfeb8f9bb80f376df9cd3d8ed46a4c027343db
7
- data.tar.gz: e2cb9df8584b891f61cfc58a782ec9b28115a253d59cf0e95d6d6d613cb3dec00859e4e598f152a6110856c516947a977a8fefb1130d7e076bde9a8b2ba06a0f
6
+ metadata.gz: ea3df800f3ddeb607957386ec55048e0359bd15564c63378fc963b09443a00fe554f304491621f7c910303dafb8d38e58298d28455e26f8bd6c08bcd4c22bb54
7
+ data.tar.gz: d580731378ee00b8791fc59184b3981c6f1935359711045ed9bc970d735713abcb2d2b22dad2b2eba273522194c6aa432094eacc0008c4cd6a8aba875b48e660
@@ -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
 
@@ -24,6 +24,7 @@ class OnChain::BlockChain
24
24
  row[:time] = Date.parse(tx["block_time"]).to_s
25
25
  row[:addr] = {}
26
26
  row[:outs] = {}
27
+
27
28
  inputs = tx['inputs']
28
29
  val = 0
29
30
  recv = "Y"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: onchain
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.1
4
+ version: 1.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ian Purton