`(DataStore).GetUnspentFromWallet assumes that all unspent outputs are transaction outputs. When there's an unspent deposit, this causes plasmad to panic.
Expected behavior
GetUnspentFromWallet should return general output information. If wanted, the TxOuput or DepositOutput should be an additional call.
Steps to reproduce
Deposit into the smart contract, create and include-deposit transaction, then call plasmacli query info on the account that owns the deposit.
Summary of bug
`(DataStore).GetUnspentFromWallet assumes that all unspent outputs are transaction outputs. When there's an unspent deposit, this causes plasmad to panic.
Expected behavior
GetUnspentFromWallet
should return general output information. If wanted, theTxOuput
orDepositOutput
should be an additional call.Steps to reproduce
Deposit into the smart contract, create and
include-deposit
transaction, then callplasmacli query info
on the account that owns the deposit.Versions/External Software
0.2.0-91-g8f898d9