Browse Source

Use the correct interval at z2zheight

pull/131/head
Duke Leto 4 years ago
parent
commit
5fc4b4c770
  1. 2
      src/komodo_bitcoind.h

2
src/komodo_bitcoind.h

@ -1258,7 +1258,7 @@ uint64_t hush_commission(int height)
};
uint64_t commission = 0;
if( height > HALVING1) {
if( height >= HALVING1) {
// Block time going from 150s to 75s (half) means the interval between halvings
// must be twice as often, i.e. 840000*2=1680000
// With 150s blocks, we have 210,000 blocks per year

Loading…
Cancel
Save