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 +4 -4
- data/Gemfile.lock +1 -1
- data/lib/bitcoin.rb +1 -1
- data/lib/bitcoin/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0b5d77f8ba02009cbea4c5dc324670403d58c9ff
|
4
|
+
data.tar.gz: d298f03cd6a1c826a8910b6d3ca65cb873f9b299
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 931ee77123588e85096d693324184feb82a272b5ddae7254794f6df63b465519abe6e85dbcac50625e56e20a0c8f0ad6fd8b4eee2798dd1e753675a5cdad3ca5
|
7
|
+
data.tar.gz: 6d30989aae958ab0de63eea149e4fba5f72ac230ed0257c49fd38baa7938413dc3cd2eb2f801e33d5b9eee4c1204f34db61ec088cf5197af2219415e31064fbc
|
data/Gemfile.lock
CHANGED
data/lib/bitcoin.rb
CHANGED
@@ -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*")
|
data/lib/bitcoin/version.rb
CHANGED
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.
|
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-
|
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:
|