forked from bitpay/insight-api
-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Hardcode in checks for block 0 and block 1 since they are special
If version = 0 then use testnet params, and for version = 1 use mainnet. Then check for blocks 0 and 1. Block 0 should show no reward. Block 1 should show the total premine value (100000 for testnet, 1680000 for mainnet)
- Loading branch information
Showing
1 changed file
with
21 additions
and
4 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