mirror of
https://github.com/bitcoin/bips.git
synced 2026-05-11 16:51:51 +00:00
BIP352: Fix recipients typing in create_outputs to List[Dict[str, str]]
This commit is contained in:
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user