OSDN Git Service

feat: add build crosschain input (#91)
[bytom/vapor.git] / protocol / bc / types / transaction.go
index 383ea30..08e6f6c 100644 (file)
@@ -51,6 +51,8 @@ func (tx *Tx) SetInputArguments(n uint32, args [][]byte) {
        switch e := e.(type) {
        case *bc.Spend:
                e.WitnessArguments = args
+       case *bc.CrossChainInput:
+               e.WitnessArguments = args
        }
 }