mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 18:32:23 +00:00
Update sync.go
This commit is contained in:
parent
f2730d3781
commit
0882b353c2
1 changed files with 0 additions and 3 deletions
|
|
@ -158,9 +158,6 @@ type nodeOp struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
// valid checks whether the node operation is valid.
|
// valid checks whether the node operation is valid.
|
||||||
//
|
|
||||||
// for node deletion, the node blob must be zero-length.
|
|
||||||
// for node update, the node blob must be non-zero-length.
|
|
||||||
func (op *nodeOp) valid() bool {
|
func (op *nodeOp) valid() bool {
|
||||||
if op.del && len(op.blob) != 0 {
|
if op.del && len(op.blob) != 0 {
|
||||||
return false
|
return false
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue