aboutsummaryrefslogtreecommitdiff
path: root/src/bank-lib
diff options
context:
space:
mode:
authorMS <ms@taler.net>2020-07-27 12:57:47 +0200
committerMS <ms@taler.net>2020-07-27 12:57:47 +0200
commit680b671b298201809e89592f761e92c393757058 (patch)
tree76f294b32c1a752f820b7e775994e39a8f2b4c85 /src/bank-lib
parent7c2de4c5e6b7b1184d059057e1d412d6f0133816 (diff)
Extend bank transfer tool.
Find subject among payto parameters.
Diffstat (limited to 'src/bank-lib')
-rw-r--r--src/bank-lib/taler-bank-transfer.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/bank-lib/taler-bank-transfer.c b/src/bank-lib/taler-bank-transfer.c
index bc4ebcfbc..f3b393372 100644
--- a/src/bank-lib/taler-bank-transfer.c
+++ b/src/bank-lib/taler-bank-transfer.c
@@ -408,6 +408,10 @@ execute_wire_transfer ()
GNUNET_SCHEDULER_shutdown ();
return;
}
+
+ // See if subject was given as a payto-parameter.
+ if (NULL == subject)
+ subject = TALER_payto_get_subject (credit_account);
if (NULL != subject)
{
if (GNUNET_OK !=