bigchaindb 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/bigchaindb.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: 394219c2c4d68dfe7eb19aa74b69b56399a9b433
|
4
|
+
data.tar.gz: 6af658bab0a25c9f84b9f6ace7a63847381b0482
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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-
|
11
|
+
date: 2017-10-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httparty
|