fix the issue #886,in function "platone_createOnetimeWallet"
@@ -60,11 +60,13 @@ BoatPlatoneWallet *g_platone_wallet_ptr;
__BOATSTATIC BOAT_RESULT platone_createOnetimeWallet()
{
BSINT32 index;
- BoatPlatoneWalletConfig wallet_config = {0};
+ BoatPlatoneWalletConfig wallet_config;
BUINT8 binFormatKey[32] = {0};
(void)binFormatKey; //avoid warning
+ memset(&wallet_config,0,sizeof(wallet_config));
+
/* wallet_config value assignment */
#if defined(USE_PRIKEY_FORMAT_INTERNAL_GENERATION)
//BoatLog(BOAT_LOG_NORMAL, ">>>>>>>>>> wallet format: internal generated.");
