Commit 59318c6e84b422e03dd6fe45564b764f47218e75

Authored by comboy
Committed by Julian Langschaedel
1 parent 817cbff711

rename spent validation

since it returns true when funds are *not* yet spent

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

spec/bitcoin/storage/validation_spec.rb
... ... @@ -258,7 +258,7 @@
258 258 if @store.class.name =~ /Utxo/
259 259 check_tx(@tx, [:prev_out, [[@tx.in[0].prev_out.reverse_hth, 0]]])
260 260 else
261   - check_tx(@tx, [:spent, [0]])
  261 + check_tx(@tx, [:not_spent, [0]])
262 262 end
263 263 end
264 264