OSDN Git Service
(root)
/
bytom
/
vapor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
feat: add build crosschain input (#91)
[bytom/vapor.git]
/
protocol
/
bc
/
types
/
transaction.go
diff --git
a/protocol/bc/types/transaction.go
b/protocol/bc/types/transaction.go
index
383ea30
..
08e6f6c
100644
(file)
--- a/
protocol/bc/types/transaction.go
+++ b/
protocol/bc/types/transaction.go
@@
-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
}
}