pochette 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/pochette/transaction_builder.rb +1 -5
- data/lib/pochette/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: 32a5e22b912d750c86f5ce857e8fd6c13e0be105
|
4
|
+
data.tar.gz: b4b5176cfaabc855f88c692d17f721699ff4dc68
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a9e1050c5b93cf85eea51bbcfb3e16468a6331c5ff49b1e5d4ef9c9bdd9bfe1bc5a3fedcc0c98db244eec3121fe63a7de1a1ca6801fbe083935edf2f4fd0c7b1
|
7
|
+
data.tar.gz: 9d806da72bafad0279da22e85e3375a36957a8d667cb994361cfb1071eee80cabd0d46d1740b6313b7ca4955529838372415c872b4ea3e5541f2e5cddad3e414
|
@@ -108,7 +108,7 @@ protected
|
|
108
108
|
utxo_blacklist = options[:utxo_blacklist] || []
|
109
109
|
all_utxos = Pochette.backend.list_unspent(addresses)
|
110
110
|
available_utxos = all_utxos.reject do |utxo|
|
111
|
-
utxo_blacklist.include?(utxo[1]
|
111
|
+
utxo_blacklist.include?([utxo[1], utxo[2]])
|
112
112
|
end
|
113
113
|
|
114
114
|
self.inputs = []
|
@@ -150,8 +150,4 @@ protected
|
|
150
150
|
errors << :insufficient_funds
|
151
151
|
end
|
152
152
|
end
|
153
|
-
|
154
|
-
def utxo_is_blacklisted?(utxo)
|
155
|
-
false
|
156
|
-
end
|
157
153
|
end
|
data/lib/pochette/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pochette
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nubis
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2015-09-
|
12
|
+
date: 2015-09-22 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activesupport
|