mirror of
https://github.com/bigchaindb/bigchaindb.git
synced 2024-10-13 13:34:05 +00:00
Problem: Changes to format for validator keys broke some tests
Solution: Aligned the tests to reflect the changed key format
This commit is contained in:
parent
a6f6b81254
commit
d5a0c87e49
@ -53,7 +53,7 @@ class ValidatorElection(Election):
|
||||
|
||||
new_validator = self.asset['data']
|
||||
|
||||
public_key = public_key_to_base64(new_validator['public_key'])
|
||||
public_key = public_key_to_base64(new_validator['public_key']['value'])
|
||||
power = new_validator['power']
|
||||
node_id = new_validator['node_id']
|
||||
status = self.get_status(bigchain)
|
||||
|
||||
@ -354,7 +354,7 @@ def test_election_new_upsert_validator_with_tendermint(b, priv_validator_path, u
|
||||
|
||||
new_args = Namespace(action='new',
|
||||
election_type='upsert_validator',
|
||||
public_key='8eJ8q9ZQpReWyQT5aFCiwtZ5wDZC4eDnCen88p3tQ6ie',
|
||||
public_key='HHG0IQRybpT6nJMIWWFWhMczCLHt6xcm7eP52GnGuPY=',
|
||||
power=1,
|
||||
node_id='unique_node_id_for_test_upsert_validator_new_with_tendermint',
|
||||
sk=priv_validator_path,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user