Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
dni committed Nov 26, 2023
1 parent b943a2f commit 142e578
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion boltz_client/onchain.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
from embit.liquid.networks import NETWORKS as LNETWORKS
from embit.liquid.transaction import LTransaction
from embit.networks import NETWORKS

from embit.transaction import SIGHASH, Transaction, TransactionInput, TransactionOutput

from .mempool import LockupData
Expand Down
4 changes: 2 additions & 2 deletions boltz_client/onchain_wally.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ def create_liquid_tx(
assert blinding_key, "blinding_key is required"
try:
blinding_key_bytes = bytes.fromhex(blinding_key)
except ValueError:
raise ValueError("blinding_key must be hex encoded")
except ValueError as exc:
raise ValueError("blinding_key must be hex encoded") from exc

receive_blinding_pubkey = wally.confidential_addr_segwit_to_ec_public_key(
receive_address, confidential_addr_family
Expand Down

0 comments on commit 142e578

Please sign in to comment.