mirror of
https://github.com/oxen-io/oxen-storage-server.git
synced 2023-12-13 21:00:26 +01:00
5 lines
129 B
Python
5 lines
129 B
Python
from oxenmq import Address
|
|
|
|
def sn_address(sn):
|
|
return Address(sn['ip'], sn['port_omq'], bytes.fromhex(sn['pubkey_x25519']))
|