fix: add ck_assert_ptr_ne(wallet_ptr, NULL); in test_002InitWallet_0001SetEIP155CompSuccess
@@ -555,6 +555,8 @@ START_TEST(test_002InitWallet_0001SetEIP155CompSuccess)
BoatPlatONWallet *wallet_ptr = BoatMalloc(sizeof(BoatPlatONWallet));
BoatPlatONWalletConfig wallet = get_platon_wallet_settings();
+ ck_assert_ptr_ne(wallet_ptr, NULL);
+
/* 1. execute unit test */
rtnVal = BoatEthWalletSetEIP155Comp(wallet_ptr, wallet.eip155_compatibility);
/* 2. verify test result */
