OSDN Git Service
(root)
/
bytom
/
bytom.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix: fix typo (#1674)
[bytom/bytom.git]
/
protocol
/
validation
/
tx.go
diff --git
a/protocol/validation/tx.go
b/protocol/validation/tx.go
index
afe546b
..
f7e860e
100644
(file)
--- a/
protocol/validation/tx.go
+++ b/
protocol/validation/tx.go
@@
-388,7
+388,7
@@
func checkValidDest(vs *validationState, vd *bc.ValueDestination) error {
return errors.Wrap(ErrMissingField, "missing ref on value destination")
}
if vd.Value == nil || vd.Value.AssetId == nil {
return errors.Wrap(ErrMissingField, "missing ref on value destination")
}
if vd.Value == nil || vd.Value.AssetId == nil {
- return errors.Wrap(ErrMissingField, "missing value on value
source
")
+ return errors.Wrap(ErrMissingField, "missing value on value
destination
")
}
e, ok := vs.tx.Entries[*vd.Ref]
}
e, ok := vs.tx.Entries[*vd.Ref]