bech32 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.ruby-version +1 -1
- data/bech32.gemspec +1 -1
- data/lib/bech32/segwit_addr.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d1dbccb1bebbe132f71fac8cdad1a0e8a0beba9e
|
4
|
+
data.tar.gz: cdd71f62ac2d8733815fb59e9d369f13c654d752
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 733bf71d25d4344e550c9906c25678370ba23988a92e15955779c2f64d633aa836c6404bcf6ae2f6331d9babb22f25eeba60b454eba5adf785b3dfcd0c1882d5
|
7
|
+
data.tar.gz: 72d15f485dd93fdbb0a9bca2da08eb4aee8ee66fb2df2c2b5cc059c9e2291748fc96032d44f30fb5fd683276959bec0f9b22b5180edc1e3dec1cb72797853faa
|
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.
|
1
|
+
2.4.1
|
data/bech32.gemspec
CHANGED
data/lib/bech32/segwit_addr.rb
CHANGED
@@ -16,7 +16,7 @@ module Bech32
|
|
16
16
|
|
17
17
|
# Returns segwit script pubkey which generated from witness version and witness program.
|
18
18
|
def to_script_pubkey
|
19
|
-
v = ver == 0 ? ver : ver +
|
19
|
+
v = ver == 0 ? ver : ver + 0x50
|
20
20
|
([v, prog.length].pack("CC") + prog.map{|p|[p].pack("C")}.join).unpack('H*').first
|
21
21
|
end
|
22
22
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bech32
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Shigeyuki Azuchi
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-07
|
11
|
+
date: 2017-08-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -80,7 +80,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
80
80
|
version: '0'
|
81
81
|
requirements: []
|
82
82
|
rubyforge_project:
|
83
|
-
rubygems_version: 2.
|
83
|
+
rubygems_version: 2.6.12
|
84
84
|
signing_key:
|
85
85
|
specification_version: 4
|
86
86
|
summary: The implementation of Bech32 encoder and decoder.
|