coarsen deposit transaction
This commit is contained in:
parent
982b60c93c
commit
937524940a
@ -157,6 +157,12 @@ deposit_transaction (void *cls,
|
|||||||
bool balance_ok;
|
bool balance_ok;
|
||||||
bool in_conflict;
|
bool in_conflict;
|
||||||
|
|
||||||
|
qs = TEH_make_coin_known (&dc->deposit->coin,
|
||||||
|
connection,
|
||||||
|
&dc->known_coin_id,
|
||||||
|
mhd_ret);
|
||||||
|
if (qs < 0)
|
||||||
|
return qs;
|
||||||
qs = TEH_plugin->do_deposit (TEH_plugin->cls,
|
qs = TEH_plugin->do_deposit (TEH_plugin->cls,
|
||||||
dc->deposit,
|
dc->deposit,
|
||||||
dc->known_coin_id,
|
dc->known_coin_id,
|
||||||
@ -445,6 +451,7 @@ TEH_handler_deposit (struct MHD_Connection *connection,
|
|||||||
"preflight failure");
|
"preflight failure");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if NOT_MOVED
|
||||||
{
|
{
|
||||||
MHD_RESULT mhd_ret = MHD_NO;
|
MHD_RESULT mhd_ret = MHD_NO;
|
||||||
enum GNUNET_DB_QueryStatus qs;
|
enum GNUNET_DB_QueryStatus qs;
|
||||||
@ -471,7 +478,7 @@ TEH_handler_deposit (struct MHD_Connection *connection,
|
|||||||
if (qs < 0)
|
if (qs < 0)
|
||||||
return mhd_ret;
|
return mhd_ret;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
/* execute transaction */
|
/* execute transaction */
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user