From c5c76f355a414278b354753ee7b763a49007653c Mon Sep 17 00:00:00 2001 From: Snezhkko Date: Mon, 8 Sep 2025 15:23:30 +0300 Subject: [PATCH] BIP352: Fix recipients typing in create_outputs to List[Dict[str, str]] --- bip-0352/reference.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bip-0352/reference.py b/bip-0352/reference.py index 714050e4..9a8d39d7 100755 --- a/bip-0352/reference.py +++ b/bip-0352/reference.py @@ -125,7 +125,7 @@ def decode_silent_payment_address(address: str, hrp: str = "tsp") -> Tuple[GE, G return B_scan, B_spend -def create_outputs(input_priv_keys: List[Tuple[Scalar, bool]], outpoints: List[COutPoint], recipients: List[str], expected: Dict[str, any] = None, hrp="tsp") -> List[str]: +def create_outputs(input_priv_keys: List[Tuple[Scalar, bool]], outpoints: List[COutPoint], recipients: List[Dict[str, str]], expected: Dict[str, any] = None, hrp="tsp") -> List[str]: negated_keys = [] for key, is_xonly in input_priv_keys: k = Scalar.from_bytes_checked(key.to_bytes())