-
Notifications
You must be signed in to change notification settings - Fork 156
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
vsp: Recalculate ticket live/expiry heights.
Previously the live & expiry heights were only being set once upon feePayment initialization, which meant that an unmined ticket added to the VSP client would have heights set to zero forever. With this change, if either of the values are found to be zero, we check if the ticket has been mined yet and the heights are recalculated to their correct values if so.
- Loading branch information
1 parent
7fbedb9
commit 8722867
Showing
1 changed file
with
44 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters