bigchaindb 0.0.6 → 0.0.7

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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/bigchaindb.rb +1 -1
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3e580cfe72ce29831bf5f59c7668acd7fcd43099
4
- data.tar.gz: 4ab58de601a18bda19161e3ed6dc11da1c52b679
3
+ metadata.gz: 394219c2c4d68dfe7eb19aa74b69b56399a9b433
4
+ data.tar.gz: 6af658bab0a25c9f84b9f6ace7a63847381b0482
5
5
  SHA512:
6
- metadata.gz: 97a2d52b6ed5929683f2588b8b1a92f5a5d7702e639dbe8962373e4893d38765a3aa9e226657b9dcbd0111808654391c261b9c00bb41d264428c2f25b7834b21
7
- data.tar.gz: 6fa188ae7253540457c2e31713aab14b10f1c07252e464b85ffd7327bcceaace2ca2aa761e7aa6a7ec88a8aee1e75e2f378e64ae17693ad87c70671b3ef8fe36
6
+ metadata.gz: 5eb5fa34e64e0946ad90a3d50835f10d0b50589c8c8f25695bde976a4a8ce0278353a06ba95555785a4098fa260c47659f55b141d3e1e81b9e5f02de520fb911
7
+ data.tar.gz: 2cf305011df7d5c24a773aad2c2bf612e7d4ade3a86f8050c3aceb6a4c40b1e27645063f691634492046f10c3b832b39bf81c9726592a96f2dabba4e9f07ef40
data/lib/bigchaindb.rb CHANGED
@@ -74,7 +74,7 @@ module Bdb
74
74
  txn = JSON.parse(Bdb.get_transaction_by_id(ipdb, u["transaction_id"]).body)
75
75
  next unless txn["asset"]["id"] == asset_id
76
76
  input_amount += txn["outputs"][u["output_index"]]["amount"].to_i
77
- new_inputs.push(Bdb.spend(txn, u["output_index"]))
77
+ new_inputs.push(Bdb.spend(txn, [u["output_index"]]))
78
78
  end
79
79
  else
80
80
  # assume that every output for sender_pubkey in given inputs is unspent and can be used as input
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bigchaindb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nilesh Trivedi
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-10-20 00:00:00.000000000 Z
11
+ date: 2017-10-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty