fix odd missing initialization, very strange that this did not show up before as a problem

This commit is contained in:
Christian Grothoff 2017-09-12 23:52:23 +02:00
parent 7aa23a39bd
commit 632fd85f1b
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC

View File

@ -348,6 +348,8 @@ withdraw_transaction (void *cls,
"Internal error"); "Internal error");
return GNUNET_DB_STATUS_HARD_ERROR; return GNUNET_DB_STATUS_HARD_ERROR;
} }
TALER_amount_ntoh (&fee_withdraw,
&wc->dki->issue.properties.fee_withdraw);
wc->collectable.sig = denom_sig; wc->collectable.sig = denom_sig;
wc->collectable.denom_pub = wc->denomination_pub; wc->collectable.denom_pub = wc->denomination_pub;
wc->collectable.amount_with_fee = wc->amount_required; wc->collectable.amount_with_fee = wc->amount_required;