mirror of
https://github.com/aljazceru/plugins.git
synced 2025-12-22 23:54:20 +01:00
noise: Don't depend on unstable pyln-proto features
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
from pyln.client import Plugin, RpcError
|
from pyln.client import Plugin, RpcError
|
||||||
from pyln.proto.primitives import varint_decode, varint_encode
|
from primitives import varint_decode, varint_encode
|
||||||
from onion import TlvPayload
|
from onion import TlvPayload
|
||||||
from binascii import hexlify, unhexlify
|
from binascii import hexlify, unhexlify
|
||||||
import struct
|
import struct
|
||||||
@@ -10,7 +10,7 @@ from io import BytesIO
|
|||||||
import logging
|
import logging
|
||||||
from collections import namedtuple
|
from collections import namedtuple
|
||||||
import shelve
|
import shelve
|
||||||
from pyln.proto.onion import OnionPayload
|
from onion import OnionPayload
|
||||||
import zbase32
|
import zbase32
|
||||||
import hashlib
|
import hashlib
|
||||||
import os
|
import os
|
||||||
|
|||||||
Reference in New Issue
Block a user