diff --git a/src/wallet/rpcwallet.cpp b/src/wallet/rpcwallet.cpp --- a/src/wallet/rpcwallet.cpp +++ b/src/wallet/rpcwallet.cpp @@ -390,7 +390,7 @@ CScript scriptPubKey = GetScriptForDestination(address); // Create and send the transaction - Amount nFeeRequired; + Amount nFeeRequired = Amount::zero(); bilingual_str error; std::vector vecSend; int nChangePosRet = -1;