jl777 7 years ago
parent
commit
c68de697ff
  1. 4
      iguana/exchanges/LP_ordermatch.c

4
iguana/exchanges/LP_ordermatch.c

@ -868,7 +868,9 @@ struct LP_utxoinfo *LP_address_utxopair(int32_t relflag,struct LP_utxoinfo *utxo
utxo->deposit.txid = up2->U.txid;
utxo->deposit.vout = up2->U.vout;
utxo->deposit.value = up2->U.value;
utxo->S.satoshis = SATOSHIDEN * (relvolume / price);
if ( relflag != 0 )
utxo->S.satoshis = SATOSHIDEN * (volume / price);
else utxo->S.satoshis = SATOSHIDEN * (volume * price);
return(utxo);
}
}

Loading…
Cancel
Save