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 cross-chain output (#56)
[bytom/vapor.git]
/
protocol
/
bc
/
types
/
txinput.go
diff --git
a/protocol/bc/types/txinput.go
b/protocol/bc/types/txinput.go
index
a7e17a1
..
22e4485
100644
(file)
--- a/
protocol/bc/types/txinput.go
+++ b/
protocol/bc/types/txinput.go
@@
-264,6
+264,7
@@
func (t *TxInput) writeInputWitness(w io.Writer) error {
if t.AssetVersion != 1 {
return nil
}
+
switch inp := t.TypedInput.(type) {
case *IssuanceInput:
if _, err := blockchain.WriteVarstr31(w, inp.AssetDefinition); err != nil {