mintdb postgres: hardlimit storing of currency code to 3 characters - #3768
This commit is contained in:
parent
f6e14d3e93
commit
23445db811
@ -1409,7 +1409,7 @@ postgres_insert_deposit (void *cls,
|
||||
TALER_PQ_QUERY_PARAM_PTR (&amount_nbo.value),
|
||||
TALER_PQ_QUERY_PARAM_PTR (&amount_nbo.fraction),
|
||||
TALER_PQ_QUERY_PARAM_PTR_SIZED (amount_nbo.currency,
|
||||
TALER_CURRENCY_LEN - 1),
|
||||
3),
|
||||
TALER_PQ_QUERY_PARAM_PTR (&deposit->merchant_pub),
|
||||
TALER_PQ_QUERY_PARAM_PTR (&deposit->h_contract),
|
||||
TALER_PQ_QUERY_PARAM_PTR (&deposit->h_wire),
|
||||
|
Loading…
Reference in New Issue
Block a user