Skip to content

Commit

Permalink
Update host/contracts/lock.go
Browse files Browse the repository at this point in the history
Co-authored-by: Christopher Schinnerl <[email protected]>
  • Loading branch information
n8maninger and ChrisSchinnerl committed Dec 16, 2024
1 parent 4fc7440 commit 664a40e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion host/contracts/lock.go
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ func (cm *Manager) LockV2Contract(id types.FileContractID) (rev rhp4.RevisionSta
revisable := !renewed && cm.chain.Tip().Height < maxRevisionHeight
return rhp4.RevisionState{
Revision: contract.V2FileContract,
Renewed: contract.RenewedTo != (types.FileContractID{}),
Renewed: renewed,
Revisable: revisable,
Roots: cm.getSectorRoots(id),
}, func() {
Expand Down

0 comments on commit 664a40e

Please sign in to comment.