Post
Topic
Board Announcements (Altcoins)
Re: [ANN] CoinonatX-PoW/PoS-Masternodes-75% APR (CXT Sister) -NEW THREAD
by
bney
on 13/09/2017, 21:33:19 UTC
darksend.cpp:978:29: error: cannot convert ‘bool’ to ‘bool*’ in initialization      bool* pfMissingInputs = false;

This happened in several locations I made the following changes to the code to make the compiler happy and accomplish the same thing.
The error also pops up in the masternode source module. It will be very obvious. Make the same correction there.


        bool pfMissingInputs;
        if(!AcceptableInputs(mempool, tx, false, &pfMissingInputs)){

Since the variable is used only locally withing the scope of the current function, it should be ok to allocate the variable on the stack and then pass its address into the
AcceptableInputs function. Within the function the value is set to false in the event that its not already done.