keoken 0.2.5 → 0.2.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/keoken/backend/trezor/transaction.rb +5 -5
- data/lib/keoken/version.rb +1 -1
- data/spec/keoken_spec.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 29d51ac3b604a27b5362f52d8f2ba9e3f81f65d0d2e0c3baa673ebfc258b93cf
|
4
|
+
data.tar.gz: 9882d25399c16a712b3696b0a14a72c2dc5309c72221cd7b27ecbf5a2d74dcd2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 66d5484853ad4caeb69ed2a7e5962458d28b5ec194ae11eae5ecfe0bd617baad8742512fc5cd5b7d2252a0ccff7b3e162b7cf8735edeb3e1bfaeace74d9a5e4c
|
7
|
+
data.tar.gz: a0cd9a77f78f8206156ebbdf7ccc83d592637517578482a1dc64f54277d9fcb91808cf98ffe74114f4fbb8faa70578a886695631df098548c980469711640c4b
|
data/Gemfile.lock
CHANGED
@@ -46,13 +46,13 @@ module Keoken
|
|
46
46
|
address_n: path,
|
47
47
|
prev_index: input[:position],
|
48
48
|
prev_hash: input[:tx_id],
|
49
|
-
amount: input[:input_amount]
|
49
|
+
amount: input[:input_amount].to_s
|
50
50
|
}
|
51
51
|
end,
|
52
52
|
outputs: [
|
53
53
|
{
|
54
54
|
address: Cashaddress.from_legacy(address),
|
55
|
-
amount: output_amount,
|
55
|
+
amount: output_amount.to_s,
|
56
56
|
script_type: 'PAYTOADDRESS'
|
57
57
|
},
|
58
58
|
{
|
@@ -72,18 +72,18 @@ module Keoken
|
|
72
72
|
address_n: path,
|
73
73
|
prev_index: input[:position],
|
74
74
|
prev_hash: input[:tx_id],
|
75
|
-
amount: input[:input_amount]
|
75
|
+
amount: input[:input_amount].to_s
|
76
76
|
}
|
77
77
|
end,
|
78
78
|
outputs: [
|
79
79
|
{
|
80
80
|
address: Cashaddress.from_legacy(address),
|
81
|
-
amount: output_amount,
|
81
|
+
amount: output_amount.to_s,
|
82
82
|
script_type: 'PAYTOADDRESS'
|
83
83
|
},
|
84
84
|
{
|
85
85
|
address: Cashaddress.from_legacy(addr2),
|
86
|
-
amount: output_amount_to_addr2,
|
86
|
+
amount: output_amount_to_addr2.to_s,
|
87
87
|
script_type: 'PAYTOADDRESS'
|
88
88
|
},
|
89
89
|
{
|
data/lib/keoken/version.rb
CHANGED
data/spec/keoken_spec.rb
CHANGED
@@ -209,7 +209,7 @@ describe Keoken do
|
|
209
209
|
[
|
210
210
|
{
|
211
211
|
address_n: [44, 145, 0, 0, 0],
|
212
|
-
amount: 8985999,
|
212
|
+
amount: '8985999',
|
213
213
|
prev_hash: '448a9356f6317eeaa9581f9a39d41431ac74aa2b73438c01e1d522543d14e8da',
|
214
214
|
prev_index: 1
|
215
215
|
}
|
@@ -218,7 +218,7 @@ describe Keoken do
|
|
218
218
|
[
|
219
219
|
{
|
220
220
|
address: 'bitcoincash:qpxrq63y6kz2wphm2nfsh6z23yvjmz7avcc5wsgruw',
|
221
|
-
amount: 8757229,
|
221
|
+
amount: '8757229',
|
222
222
|
script_type: 'PAYTOADDRESS'
|
223
223
|
},
|
224
224
|
{
|