bitex 0.1.7 → 0.1.8

Sign up to get free protection for your applications and to get access to all the features.
data/lib/bitex/order.rb CHANGED
@@ -40,7 +40,10 @@ module Bitex
40
40
  retries = 0
41
41
  while wait && order.status == :received
42
42
  sleep 0.2
43
- order = find(order.id)
43
+ begin
44
+ order = find(order.id)
45
+ rescue StandardError => e
46
+ end
44
47
  retries += 1
45
48
  if retries > 5000 # Wait 15 minutes for the order to be accepted.
46
49
  raise StandardError.new(
data/lib/bitex/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Bitex
2
- VERSION = "0.1.7"
2
+ VERSION = "0.1.8"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bitex
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7
4
+ version: 0.1.8
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: