From 65a54470a623a20520a8a316b5d58a7e665eb96f Mon Sep 17 00:00:00 2001 From: troymc Date: Wed, 16 Nov 2016 09:52:18 +0100 Subject: [PATCH 1/2] Updated top docstring of commands/bigchain.py --- bigchaindb/commands/bigchain.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bigchaindb/commands/bigchain.py b/bigchaindb/commands/bigchain.py index d52131ab..a70ff65c 100644 --- a/bigchaindb/commands/bigchain.py +++ b/bigchaindb/commands/bigchain.py @@ -1,6 +1,5 @@ """Implementation of the `bigchaindb` command, -which is one of the commands in the BigchainDB -command-line interface. +the command-line interface (CLI) for BigchainDB Server. """ import os From 2f6e8abac22fd387a2d455a8ff21f63c94d6b3be Mon Sep 17 00:00:00 2001 From: troymc Date: Wed, 16 Nov 2016 10:10:09 +0100 Subject: [PATCH 2/2] Fixed the call to Transaction.create(): 2nd arg a list of tuples --- bigchaindb/commands/bigchain.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bigchaindb/commands/bigchain.py b/bigchaindb/commands/bigchain.py index a70ff65c..217aeeb1 100644 --- a/bigchaindb/commands/bigchain.py +++ b/bigchaindb/commands/bigchain.py @@ -193,7 +193,7 @@ def _run_load(tx_left, stats): b = bigchaindb.Bigchain() while True: - tx = Transaction.create([b.me], [b.me]) + tx = Transaction.create([b.me], [([b.me], 1)]) tx = tx.sign([b.me_private]) b.write_transaction(tx)