Drop payto params before preparing the wire transfer.

This commit is contained in:
MS 2020-07-27 22:25:05 +02:00
parent 022fba51d5
commit 2e8d4e802b
No known key found for this signature in database
GPG Key ID: 8D526861953F4C0F
2 changed files with 6 additions and 1 deletions

@ -1 +1 @@
Subproject commit b4afa5a86e4317cf8b9d2868e8e509e261c54281
Subproject commit 82ff6a36db88799cf6f658bd8855cefa5306c06d

View File

@ -401,6 +401,7 @@ execute_wire_transfer ()
struct TALER_WireTransferIdentifierRawP wtid;
void *buf;
size_t buf_size;
char *params;
if (NULL != debit_account)
{
@ -435,6 +436,10 @@ execute_wire_transfer ()
&wtid,
sizeof (wtid));
}
params = strchr (credit_account,
(unsigned char) '&');
if (NULL != params)
params = '\0';
TALER_BANK_prepare_transfer (credit_account,
&amount,
"http://exchange.example.com/",