Improve import layout

This commit is contained in:
NIC619
2019-07-28 22:30:51 +08:00
parent e7ac09cb94
commit a4a0d79f6d
15 changed files with 53 additions and 98 deletions

View File

@ -1,14 +1,14 @@
import hashlib
from typing import (
Union,
)
from Crypto.PublicKey.RSA import (
RsaKey,
)
import hashlib
import base58
import multihash
from Crypto.PublicKey.RSA import RsaKey
# MaxInlineKeyLength is the maximum length a key can be for it to be inlined in
# the peer ID.
# * When `len(pubKey.Bytes()) <= MaxInlineKeyLength`, the peer ID is the