diff --git a/iguana/exchanges/LP_utxos.c b/iguana/exchanges/LP_utxos.c index 20fbd9b26..7306919d7 100644 --- a/iguana/exchanges/LP_utxos.c +++ b/iguana/exchanges/LP_utxos.c @@ -409,8 +409,13 @@ struct LP_utxoinfo *LP_utxoadd(int32_t iambob,int32_t mypubsock,char *symbol,bit if ( iambob != 0 && value2 < 9 * (value >> 3) + 100000 ) // big txfee padding tmpsatoshis = (((value2 - 100000) / 9) << 3); else tmpsatoshis = value; - char str[65],str2[65],dispflag = 0; + if ( iambob == 0 && bits256_cmp(pubkey,LP_mypubkey) != 0 ) + { + printf("trying to add Alice utxo when not mine? %s/v%d\n",bits256_str(str,txid),vout); + return(0); + } + bits256_str(str,txid); bits256_str(str2,txid2); if ( strcmp(str,"7ea7481baf03698cbeb7b9cd0ed3f86f3c40debab72626516dda7e8d155630eb") == 0 || strcmp(str2,"7ea7481baf03698cbeb7b9cd0ed3f86f3c40debab72626516dda7e8d155630eb") == 0 )