claimnode: Support to BestClaim becomes Active immediately.
This commit is contained in:
parent
212fd1983a
commit
5e642e642f
1 changed files with 1 additions and 1 deletions
|
@ -122,7 +122,7 @@ func (n *Node) AddSupport(op wire.OutPoint, amt claim.Amount, supported claim.ID
|
|||
ActiveAt: n.height + 1,
|
||||
Seq: n.seq,
|
||||
}
|
||||
if n.BestClaim() == nil || n.BestClaim().OutPoint != op {
|
||||
if n.BestClaim() == nil || n.BestClaim().ID != supported {
|
||||
s.ActiveAt = calActiveHeight(s.Accepted, s.Accepted, n.Tookover())
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue