Only fetch needed element (public key)

This commit is contained in:
Sylvain Bellemare 2017-01-17 11:34:20 +01:00 committed by Sylvain Bellemare
parent 5759de6ae3
commit 1dbc998b36

View File

@ -166,7 +166,7 @@ def test_post_invalid_transfer_transaction_returns_400(b, client, user_pk):
from bigchaindb.models import Transaction
from bigchaindb.common.exceptions import InvalidSignature
user_priv, user_pub = crypto.generate_key_pair()
user_pub = crypto.generate_key_pair()[1]
input_valid = b.get_owned_ids(user_pk).pop()
create_tx = b.get_transaction(input_valid.txid)