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
Edit (#275)
[bytom/vapor.git]
/
protocol
/
bc
/
types
/
txinput.go
diff --git
a/protocol/bc/types/txinput.go
b/protocol/bc/types/txinput.go
index
d1eeb57
..
0d8402c
100644
(file)
--- a/
protocol/bc/types/txinput.go
+++ b/
protocol/bc/types/txinput.go
@@
-134,6
+134,9
@@
func (t *TxInput) SpentOutputID() (o bc.Hash, err error) {
case *VetoInput:
o, err = ComputeOutputID(&inp.SpendCommitment, VetoInputType, inp.Vote)
+
+ case *CrossChainInput:
+ o, err = ComputeOutputID(&inp.SpendCommitment, SpendInputType, nil)
}
return o, err