mirror of
https://github.com/bigchaindb/bigchaindb.git
synced 2024-10-13 13:34:05 +00:00
Merge pull request #824 from bigchaindb/bug/823/fix-bigchaindb-load
Fixed bug in `bigchaindb load`
This commit is contained in:
commit
795467c0f2
@ -1,6 +1,5 @@
|
|||||||
"""Implementation of the `bigchaindb` command,
|
"""Implementation of the `bigchaindb` command,
|
||||||
which is one of the commands in the BigchainDB
|
the command-line interface (CLI) for BigchainDB Server.
|
||||||
command-line interface.
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
import os
|
import os
|
||||||
@ -194,7 +193,7 @@ def _run_load(tx_left, stats):
|
|||||||
b = bigchaindb.Bigchain()
|
b = bigchaindb.Bigchain()
|
||||||
|
|
||||||
while True:
|
while True:
|
||||||
tx = Transaction.create([b.me], [b.me])
|
tx = Transaction.create([b.me], [([b.me], 1)])
|
||||||
tx = tx.sign([b.me_private])
|
tx = tx.sign([b.me_private])
|
||||||
b.write_transaction(tx)
|
b.write_transaction(tx)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user