From dcce6d9504abd06551f0c59ea1d5c5000567f1e9 Mon Sep 17 00:00:00 2001 From: Rodolphe Marques Date: Mon, 25 Apr 2016 13:39:28 +0200 Subject: [PATCH] returns empty list. not None --- bigchaindb/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bigchaindb/core.py b/bigchaindb/core.py index 74e53cf1..f9e3e1d2 100644 --- a/bigchaindb/core.py +++ b/bigchaindb/core.py @@ -171,7 +171,7 @@ class Bigchain(object): Returns: A list of transactions containing that payload. If no transaction exists with that payload it - returns `None` + returns an empty list `[]` """ cursor = r.table('bigchain')\