This repository has been archived by the owner on Jun 17, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Tweak arguments passed to GenesisTxValidator.getGenesisTx()
The genesisTotalSupply argument is added, which earlier was fetched implicitly from BsqState. The blockHeight argument is removed, since it refers to the blockheight of the RawTx argument, which also can be fetched from that object with .getBlockHeight(). Calling code in BsqParser.maybeAddGenesisTx() is updated to respect new call signature. Since .maybeAddGenesisTx() does not need blockHeight anymore either, it is also dropped here as well as in the callers in LiteNodeParser and FullNodeParser.
- Loading branch information
Showing
4 changed files
with
11 additions
and
14 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
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
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
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