mirror of
https://github.com/varun-r-mallya/py-libp2p.git
synced 2026-02-09 14:40:53 +00:00
Fix after rebase
This commit is contained in:
@ -25,7 +25,8 @@ class ID:
|
||||
def __init__(self, id_str: str) -> None:
|
||||
self._id_str = id_str
|
||||
|
||||
def to_bytes(self) -> bytes:
|
||||
# FIXME: Should return type `bytes`
|
||||
def to_bytes(self) -> str:
|
||||
return self._id_str
|
||||
|
||||
def get_raw_id(self) -> str:
|
||||
|
||||
Reference in New Issue
Block a user