|
@ -772,7 +772,7 @@ struct iguana_bundle *iguana_bundleset(struct iguana_info *coin,struct iguana_bl |
|
|
void iguana_checklongestchain(struct iguana_info *coin,struct iguana_bundle *bp,int32_t num) |
|
|
void iguana_checklongestchain(struct iguana_info *coin,struct iguana_bundle *bp,int32_t num) |
|
|
{ |
|
|
{ |
|
|
int32_t i; struct iguana_peer *addr; |
|
|
int32_t i; struct iguana_peer *addr; |
|
|
if ( num > 3 && num < bp->n ) |
|
|
if ( coin->RTheight > 0 && num > 3 && num < bp->n ) |
|
|
{ |
|
|
{ |
|
|
if ( coin->longestchain > bp->bundleheight+num+10*coin->chain->minconfirms ) |
|
|
if ( coin->longestchain > bp->bundleheight+num+10*coin->chain->minconfirms ) |
|
|
{ |
|
|
{ |
|
|