This commit is contained in:
jl777
2018-08-21 04:54:49 -11:00
parent 794a347fab
commit bcfda2b008

View File

@@ -146,7 +146,7 @@ std::string MofNGet(uint64_t txfee)
txfee = 10000;
mofnpk = GetUnspendable(cp,0);
mypk = pubkey2pk(Mypubkey());
if ( (inputs= AddMofNInputs(cp,mtx,mofnpk,nValue+txfee,60)) > 0 )
if ( (inputs= AddMofNInputs(cp,mtx,mofnpk,txfee,60)) > 0 )
{
if ( inputs > nValue )
CCchange = (inputs - nValue - txfee);