txcatcher 0.1.87 → 0.1.88

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: e9243211f3bf650d1d630d96fa82833161cb6042
4
- data.tar.gz: 109c9b833ef73f12111f5b0b22a31b951fd608ec
3
+ metadata.gz: 6814ca040f77d1ccdeb7762388fd1389cd3a14ae
4
+ data.tar.gz: ce49b9f0b3a1f67b9340d7e77e7f817e05c6d9c2
5
5
  SHA512:
6
- metadata.gz: ef2293bc8067f8a5499c15b8012eb65b2751a23393663c8455ddd763c4a94714623fd1452a987f75b8e2a051aec6e4d57e1ad49e0ff3c9dfef446ea54da85826
7
- data.tar.gz: c40a1314c5c370cd6b767eec7b682b9eacb799e26d4cdd4c82cf0e1a830e0cd32d56489ce225a7821885d0ac8498cc936e9594ef6742d594634ae41a6f74887a
6
+ metadata.gz: 91778cfcc2f9ac08e12feaa36f507a30e668e3f57d9aa7ec7da782555a82e134b7ddf4e4b2552a4ebc9b5b38c10b720bb3c8c993da274769e3dde55daaf58712
7
+ data.tar.gz: 5accdff4a0a2fcbaf5d98d93ca2da1143050e5199b1701eb557a5d713def3717e7d6028b1132d6c2dc0bfc212ae2611510462aad16765f4a1a8cd1ae7963dfed
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.87
1
+ 0.1.88
@@ -106,7 +106,8 @@ def try_txcatcher(addr, sleep_time: 3)
106
106
  response = {}
107
107
  3.times do
108
108
  sleep sleep_time # let's wait, perhaps txcatcher hasn't caught up
109
- break unless (response = fetch_txcatcher_for_addr(addr)).empty?
109
+ response = fetch_txcatcher_for_addr(addr)
110
+ break unless response.empty?
110
111
  end
111
112
 
112
113
  if response.empty?
@@ -123,7 +124,7 @@ end
123
124
 
124
125
  def fetch_txcatcher_for_addr(addr)
125
126
  response = Faraday.get do |req|
126
- req.url TxCatcher::Config["monitor"]["txcatcher_url"] + "/addr/#{addr}1/utxo"
127
+ req.url TxCatcher::Config["monitor"]["txcatcher_url"] + "/addr/#{addr}/utxo"
127
128
  req.options.timeout = 5
128
129
  req.options.open_timeout = 5
129
130
  end
data/txcatcher.gemspec CHANGED
@@ -2,11 +2,11 @@
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
3
  # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
- # stub: txcatcher 0.1.87 ruby lib
5
+ # stub: txcatcher 0.1.88 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "txcatcher"
9
- s.version = "0.1.87"
9
+ s.version = "0.1.88"
10
10
 
11
11
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
12
12
  s.require_paths = ["lib"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: txcatcher
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.87
4
+ version: 0.1.88
5
5
  platform: ruby
6
6
  authors:
7
7
  - Roman Snitko