OSDN Git Service
(root)
/
bytom
/
bytom.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0f8db1a
)
fix: fix typo (#1674)
author
HAOYUatHZ
<37070449+HAOYUatHZ@users.noreply.github.com>
Mon, 8 Apr 2019 01:37:57 +0000
(09:37 +0800)
committer
Paladz
<yzhu101@uottawa.ca>
Mon, 8 Apr 2019 01:37:57 +0000
(09:37 +0800)
protocol/validation/tx.go
patch
|
blob
|
history
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 value on value
source
")
+ return errors.Wrap(ErrMissingField, "missing value on value
destination
")
}
e, ok := vs.tx.Entries[*vd.Ref]