payment_identifier: factor out bip21 functions to bip21.py to break cyclic dependencies,
parse bolt11 only once, store invoice internally instead of bolt11 string add is_onchain method to indicate if payment identifier can be paid onchain
This commit is contained in:
@@ -7,7 +7,7 @@ import attr
|
||||
from .json_db import StoredObject, stored_in
|
||||
from .i18n import _
|
||||
from .util import age, InvoiceError, format_satoshis
|
||||
from .payment_identifier import create_bip21_uri
|
||||
from .bip21 import create_bip21_uri
|
||||
from .lnutil import hex_to_bytes
|
||||
from .lnaddr import lndecode, LnAddr
|
||||
from . import constants
|
||||
|
||||
Reference in New Issue
Block a user