missed mpz_init added

This commit is contained in:
dimxy
2019-04-30 16:31:37 +05:00
parent 9c50f7a7e5
commit 3f61f3c155

View File

@@ -824,6 +824,8 @@ int32_t prices_syntheticprofits(int64_t &costbasis, int32_t firstheight, int32_t
mpz_init(mpzCostbasis);
mpz_init(mpzPrice);
mpz_init(mpzLeverage);
mpz_init(mpzRemainder);
mpz_set_ui(mpzCostbasis, costbasis);
mpz_mul_ui(mpzCostbasis, mpzCostbasis, SATOSHIDEN);