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
duplicate_submit_no_error (#547)
[bytom/vapor.git]
/
protocol
/
tx.go
diff --git
a/protocol/tx.go
b/protocol/tx.go
index
1206916
..
55800fe
100644
(file)
--- a/
protocol/tx.go
+++ b/
protocol/tx.go
@@
-29,7
+29,7
@@
func (c *Chain) ValidateTx(tx *types.Tx) (bool, error) {
bh := c.BestBlockHeader()
isOrphan, err := c.validateTx(tx, bh)
- if err == nil {
+ if err == nil
&& !isOrphan
{
c.markTransactions(tx)
}
return isOrphan, err