I have a strange problem.
I'm using the following piece of code (on a watch-only testnet wallet) and am getting no Addr20 value.
ledger = wlt.getTxLedger() #wlt is a PyBtcWallet
ledger[0].pprint()
Returns
LedgerEntry:
Addr20 :
Value : 10
BlkNum : 71313
TxHash : 43b999e0c1df82e83eaf2c4a589d7d8517552c32d4006ad4ae486c09ef42c881
TxIndex : 1
isValid : 1
Coinbase: 0
sentSelf: 0
isChange: 0
Also, just for my own sanity check, I found that the type of ledger[0].getAddrStr20() is str with length 0
Any ideas on why this is happening?