1
0
Fork 0
forked from lthn/blockchain

rolled back wallet version

This commit is contained in:
cryptozoidberg 2021-06-11 21:57:44 +03:00
parent 9a94584ca4
commit ff1914aab5
No known key found for this signature in database
GPG key ID: 22DEB97A54C6FDEC
2 changed files with 2 additions and 1 deletions

View file

@ -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

View file

@ -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}}");