for _, id := range tx.TxHeader.ResultIds {
output, err := tx.Output(*id)
if err != nil {
+ // error due to it's a retirement, utxo doesn't care this output type so skip it
continue
}
if !gasOnlyTx || *output.Source.Value.AssetId == *consensus.BTMAssetID {
for _, id := range tx.TxHeader.ResultIds {
output, err := tx.Output(*id)
if err != nil {
+ // error due to it's a retirement, utxo doesn't care this output type so skip it
continue
}
if statusFail && *output.Source.Value.AssetId != *consensus.BTMAssetID {
for _, id := range tx.TxHeader.ResultIds {
output, err := tx.Output(*id)
if err != nil {
+ // error due to it's a retirement, utxo doesn't care this output type so skip it
continue
}
if statusFail && *output.Source.Value.AssetId != *consensus.BTMAssetID {