diff --git a/iguana/dpow/dpow_fsm.c b/iguana/dpow/dpow_fsm.c index 12d624137..dd4783c55 100755 --- a/iguana/dpow/dpow_fsm.c +++ b/iguana/dpow/dpow_fsm.c @@ -490,6 +490,11 @@ void dpow_statemachinestart(void *ptr) bp->notaries[myind].ratifydestvout = ep->dest.prev_vout; } } + if ( strcmp(dp->symbol,"CHIPS") == 0 ) + { + char str[65]; + printf(">>>>>>> CHIPS myind.%d %s/v%d\n",i,bits256_str(str,bp->notaries[myind].src.prev_hash),bp->notaries[myind].src.prev_vout); + } bp->recvmask |= (1LL << myind); bp->notaries[myind].othermask |= (1LL << myind); dp->checkpoint = checkpoint; diff --git a/iguana/dpow/dpow_network.c b/iguana/dpow/dpow_network.c index 712c8ae88..e5ab23fe1 100755 --- a/iguana/dpow/dpow_network.c +++ b/iguana/dpow/dpow_network.c @@ -1799,11 +1799,6 @@ void dpow_ratify_update(struct supernet_info *myinfo,struct dpow_info *dp,struct { printf("dont have %s %s utxo, please send funds\n",dp->symbol,srcaddr); } - else if ( strcmp(dp->symbol,"CHIPS") == 0 ) - { - char str[65]; - printf(">>>>>>> CHIPS myind.%d %s/v%d\n",i,bits256_str(str,bp->notaries[i].src.prev_hash),bp->notaries[i].src.prev_vout); - } } } } @@ -1847,6 +1842,7 @@ void dpow_notarize_update(struct supernet_info *myinfo,struct dpow_info *dp,stru { bp->notaries[senderind].src.prev_hash = srcutxo; bp->notaries[senderind].src.prev_vout = srcvout; + char str[65]; printf("%s senderind.%d <- %s/v%d\n",dp->symbol,senderind,bits256_str(str,srcutxo),srcvout); } if ( bits256_nonz(destutxo) != 0 ) {