mirror of
https://github.com/bigchaindb/bigchaindb.git
synced 2024-10-13 13:34:05 +00:00
Problem: CI build fails because of flake8 issues
Solution: Fix flake8 issues
This commit is contained in:
parent
0a7eeaaf26
commit
2d51a99b18
@ -4,7 +4,6 @@ import binascii
|
|||||||
|
|
||||||
from abci.types_pb2 import (Validator,
|
from abci.types_pb2 import (Validator,
|
||||||
PubKey)
|
PubKey)
|
||||||
from bigchaindb.tendermint_utils import public_key_to_base64
|
|
||||||
from bigchaindb.common.exceptions import InvalidPublicKey
|
from bigchaindb.common.exceptions import InvalidPublicKey
|
||||||
|
|
||||||
|
|
||||||
@ -63,7 +62,6 @@ def validate_asset_public_key(pk):
|
|||||||
|
|
||||||
|
|
||||||
def get_public_key_decoder(pk):
|
def get_public_key_decoder(pk):
|
||||||
pk_binary = pk['value'].encode('utf-8')
|
|
||||||
encoding = pk['type']
|
encoding = pk['type']
|
||||||
decoder = base64.b64decode
|
decoder = base64.b64decode
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user