Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
1a69a0352e
  1. 2
      iguana/iguana_recv.c

2
iguana/iguana_recv.c

@ -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 )
{ {

Loading…
Cancel
Save