diff --git a/src/cc/MofN.cpp b/src/cc/MofN.cpp index 2528d88ce..0a7e861f4 100644 --- a/src/cc/MofN.cpp +++ b/src/cc/MofN.cpp @@ -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);