destPos = &e.WitnessDestination.Position
case *bc.Spend:
- spentOutput := tx.Entries[*e.SpentOutputId].(*bc.Output)
+ spentOutput := tx.Entries[*e.SpentOutputId].(*bc.IntraChainOutput)
a1 := spentOutput.Source.Value.AssetId.Bytes()
assetID = &a1
amount = &spentOutput.Source.Value.Amount
}
switch e := e.(type) {
- case *bc.Output:
+ case *bc.IntraChainOutput:
return check(e.ControlProgram, e.Source.Value), nil
case *bc.Retirement: