Remove the leftover merge related stuff
This commit is contained in:
parent
e293b89925
commit
8cd23abfe2
|
@ -48,12 +48,8 @@ class PublicKey(Key):
|
||||||
def serialize_to_protobuf(self) -> protobuf.PublicKey:
|
def serialize_to_protobuf(self) -> protobuf.PublicKey:
|
||||||
key_type = self.get_type().value
|
key_type = self.get_type().value
|
||||||
data = self.to_bytes()
|
data = self.to_bytes()
|
||||||
<<<<<<< HEAD
|
|
||||||
protobuf_key = protobuf.PublicKey(key_type=key_type, data=data)
|
protobuf_key = protobuf.PublicKey(key_type=key_type, data=data)
|
||||||
return protobuf_key
|
return protobuf_key
|
||||||
=======
|
|
||||||
return protobuf.PublicKey(key_type=_type.value, data=data)
|
|
||||||
>>>>>>> Fix mypy
|
|
||||||
|
|
||||||
|
|
||||||
class PrivateKey(Key):
|
class PrivateKey(Key):
|
||||||
|
@ -72,12 +68,8 @@ class PrivateKey(Key):
|
||||||
def serialize_to_protobuf(self) -> protobuf.PrivateKey:
|
def serialize_to_protobuf(self) -> protobuf.PrivateKey:
|
||||||
key_type = self.get_type().value
|
key_type = self.get_type().value
|
||||||
data = self.to_bytes()
|
data = self.to_bytes()
|
||||||
<<<<<<< HEAD
|
|
||||||
protobuf_key = protobuf.PrivateKey(key_type=key_type, data=data)
|
protobuf_key = protobuf.PrivateKey(key_type=key_type, data=data)
|
||||||
return protobuf_key
|
return protobuf_key
|
||||||
=======
|
|
||||||
return protobuf.PrivateKey(key_type=_type.value, data=data)
|
|
||||||
>>>>>>> Fix mypy
|
|
||||||
|
|
||||||
|
|
||||||
@dataclass(frozen=True)
|
@dataclass(frozen=True)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user