diff --git a/src/currency_core/currency_config.h b/src/currency_core/currency_config.h index 5378cff0..bda8f652 100644 --- a/src/currency_core/currency_config.h +++ b/src/currency_core/currency_config.h @@ -226,7 +226,7 @@ #define BC_OFFERS_CURRENCY_MARKET_FILENAME "market.bin" #ifndef TESTNET -#define WALLET_FILE_SERIALIZATION_VERSION 154 +#define WALLET_FILE_SERIALIZATION_VERSION 153 #else #define WALLET_FILE_SERIALIZATION_VERSION (CURRENCY_FORMATION_VERSION+69) #endif diff --git a/tests/functional_tests/plain_wallet_tests.cpp b/tests/functional_tests/plain_wallet_tests.cpp index e92084fb..f1f9f36b 100644 --- a/tests/functional_tests/plain_wallet_tests.cpp +++ b/tests/functional_tests/plain_wallet_tests.cpp @@ -47,6 +47,7 @@ void run_plain_wallet_api_test() // plain_wallet::close_wallet(0); res = plain_wallet::open("test_wall2.zan", "111"); + res = plain_wallet::close_wallet(0); res = plain_wallet::invoke(0, "{\"method\":\"transfer\",\"params\":{\"destinations\":[{\"amount\":10000000000,\"address\":\"aZxat4HAWriVQ3enkGcVsrZRdMseAJswG3CSEwTqZS246VsFQ53w26eZstYsu1jWE74Atz9ajLxFnBsVTafncWNH5SMv4zHFaTS\"}],\"fee\":10000000000,\"mixin\":1011111,\"payment_id\":\"\",\"push_payer\":true,\"hide_receiver\":false}}");