Skip to content

cant generate p2wpkh address for Litecoin semantic is None #92

@ydaniels

Description

@ydaniels
from hdwallet.symbols import  LTC
from hdwallet import HDWallet
hdwallet: HDWallet = HDWallet(symbol=LTC)
hdwallet.from_xpublic_key(xpublic_key='zpub...', strict=False) #'p2wpkh'

Getting AttributeError: 'NoneType' object has no attribute 'upper'
, line 343, in is_root_xpublic_key
semantic.upper().

semantic is None for LTC p2wpkh

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions