From 48d704df7be0f30aa2134b813b98049bd5866076 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 c236c0dbd9..c7e5e7e79d 100755 --- a/bip-0352/reference.py +++ b/bip-0352/reference.py @@ -116,7 +116,7 @@ def decode_silent_payment_address(address: str, hrp: str = "tsp") -> Tuple[ECPub return B_scan, B_spend -def create_outputs(input_priv_keys: List[Tuple[ECKey, bool]], outpoints: List[COutPoint], recipients: List[str], expected: Dict[str, any] = None, hrp="tsp") -> List[str]: +def create_outputs(input_priv_keys: List[Tuple[ECKey, bool]], outpoints: List[COutPoint], recipients: List[Dict[str, str]], expected: Dict[str, any] = None, hrp="tsp") -> List[str]: G = ECKey().set(1).get_pubkey() negated_keys = [] for key, is_xonly in input_priv_keys: