sync

Backup service to store encrypted wallet databases (experimental)
Log | Files | Refs | Submodules | README | LICENSE

commit 6fa8b102d66615dc5cc81c9781221039ef41841e
parent baa5b4d55340c0336fe8f0cfa8ae04bcefd7c0a3
Author: Christian Grothoff <christian@grothoff.org>
Date:   Sat, 29 Jul 2023 16:40:32 +0200

-migrate to amount tuples

Diffstat:
Msrc/syncdb/plugin_syncdb_postgres.c | 7+++----
Msrc/testing/test_sync_api.c | 2+-
2 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/src/syncdb/plugin_syncdb_postgres.c b/src/syncdb/plugin_syncdb_postgres.c @@ -593,9 +593,9 @@ payment_by_account_cb (void *cls, &order_id), GNUNET_PQ_result_spec_auto_from_type ("token", &token), - TALER_PQ_result_spec_amount ("amount", - pic->pg->currency, - &amount), + TALER_PQ_result_spec_amount_tuple ("amount", + pic->pg->currency, + &amount), GNUNET_PQ_result_spec_end }; @@ -710,7 +710,6 @@ postgres_store_backup (void *cls, GNUNET_break (0); return SYNC_DB_SOFT_ERROR; case GNUNET_DB_STATUS_SUCCESS_NO_RESULTS: - GNUNET_break (0); return SYNC_DB_NO_RESULTS; case GNUNET_DB_STATUS_SUCCESS_ONE_RESULT: return SYNC_DB_ONE_RESULT; diff --git a/src/testing/test_sync_api.c b/src/testing/test_sync_api.c @@ -147,9 +147,9 @@ run (void *cls, NULL), TALER_TESTING_cmd_get_exchange ("get-exchange", cred.cfg, + NULL, true, true), - TALER_TESTING_cmd_check_keys_pull_all_keys ("refetch /keys"), TALER_TESTING_cmd_merchant_post_instances ("instance-create-default", merchant_url, "default",