mirror of
https://github.com/bigchaindb/bigchaindb.git
synced 2024-10-13 13:34:05 +00:00
Only fetch needed element (public key)
This commit is contained in:
parent
5759de6ae3
commit
1dbc998b36
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user