pochette 0.1.0 → 0.1.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 65f4b14b12eac44180a3b5b9cdb863ad6c2aa1bc
4
- data.tar.gz: 9ccb9cf9b0991fcaab88913f2d3785780cfc99f2
3
+ metadata.gz: 32a5e22b912d750c86f5ce857e8fd6c13e0be105
4
+ data.tar.gz: b4b5176cfaabc855f88c692d17f721699ff4dc68
5
5
  SHA512:
6
- metadata.gz: dcc3594a14fde23c00a09465ef3a5678b06aa240e4a723dcbd233564660139cf8e98704e5e5a330e8c08c45eeb2164ac579c2bde9fc4e2d7bab8cc606368b189
7
- data.tar.gz: 1959ce4d4eb08d4bb558f11e65272cdb9d9f92c9069caca19d4e90dd3ace44a35059f786754defe2e5da853b5dc87544f4c964d01fc2e281ae0c614e03c05e84
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]) || utxo_is_blacklisted?(utxo)
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
@@ -1,3 +1,3 @@
1
1
  module Pochette
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
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.0
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-17 00:00:00.000000000 Z
12
+ date: 2015-09-22 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport