diff --git a/electrum/bitcoin.py b/electrum/bitcoin.py index 562b53ee4..81b640cd2 100644 --- a/electrum/bitcoin.py +++ b/electrum/bitcoin.py @@ -602,9 +602,10 @@ def DecodeBase58Check(psz: Union[bytes, str]) -> bytes: # backwards compat # extended WIF for segwit (used in 3.0.x; but still used internally) # the keys in this dict should be a superset of what Imported Wallets can import +# Note: p2wpkh (bech32) is default (0) for Palladium WIF_SCRIPT_TYPES = { - 'p2pkh': 0, - 'p2wpkh': 1, + 'p2wpkh': 0, + 'p2pkh': 1, 'p2wpkh-p2sh': 2, 'p2sh': 5, 'p2wsh': 6,