bitcoin-ruby 0.0.16 → 0.0.17

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: 431060cb513326dbbed0e32a162c6f7e772acc9e
4
- data.tar.gz: eeff2c6ad931e356c6df9665b42c99713e6030a8
3
+ metadata.gz: 0b5d77f8ba02009cbea4c5dc324670403d58c9ff
4
+ data.tar.gz: d298f03cd6a1c826a8910b6d3ca65cb873f9b299
5
5
  SHA512:
6
- metadata.gz: 920eab4ecc29ff436633be245f53e46e72ccf4dd10256d3ae7363e6e7f7bd2e4b338e00502928d1299c48405a36d13a107c98a9db6032bed914cb25d1e42c51e
7
- data.tar.gz: 878b83ec7fa9f97a58ece5fcccb69e9d68f4c3f75b479e5283e2a4185a2e44e588a413d324b18aec357f99eabf84590bbb25ee8713b1bcc0e2a193f80c7665c1
6
+ metadata.gz: 931ee77123588e85096d693324184feb82a272b5ddae7254794f6df63b465519abe6e85dbcac50625e56e20a0c8f0ad6fd8b4eee2798dd1e753675a5cdad3ca5
7
+ data.tar.gz: 6d30989aae958ab0de63eea149e4fba5f72ac230ed0257c49fd38baa7938413dc3cd2eb2f801e33d5b9eee4c1204f34db61ec088cf5197af2219415e31064fbc
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- bitcoin-ruby (0.0.16)
4
+ bitcoin-ruby (0.0.17)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -83,7 +83,7 @@ module Bitcoin
83
83
 
84
84
  # get type of given +address+.
85
85
  def address_type(address)
86
- segwit_decoded = decode_segwit_address(address)
86
+ segwit_decoded = decode_segwit_address(address) rescue nil
87
87
  if segwit_decoded
88
88
  witness_version, witness_program_hex = segwit_decoded
89
89
  witness_program = [witness_program_hex].pack("H*")
@@ -1,3 +1,3 @@
1
1
  module Bitcoin
2
- VERSION = "0.0.16"
2
+ VERSION = "0.0.17"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bitcoin-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.16
4
+ version: 0.0.17
5
5
  platform: ruby
6
6
  authors:
7
7
  - lian
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-02-13 00:00:00.000000000 Z
11
+ date: 2018-02-14 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: This is a ruby library for interacting with the bitcoin protocol/network
14
14
  email: