commit 554ecee8edf0d0798d5fa1bc69cd35451f32c2b6
parent 0a4c636ae3fee36219b6e77e81e92f7693fd9426
Author: Antoine A <>
Date: Tue, 9 Jun 2026 16:41:55 +0200
nexus: fix fake incoming cmd
Diffstat:
3 files changed, 1 insertion(+), 3 deletions(-)
diff --git a/libeufin-bank/conf/test.conf b/libeufin-bank/conf/test.conf
@@ -2,7 +2,6 @@
CURRENCY = KUDOS
BASE_URL = http://localhost:8080/
WIRE_TYPE = iban
-IBAN_PAYTO_BIC = SANDBOXX
DEFAULT_DEBT_LIMIT = KUDOS:100
SUGGESTED_WITHDRAWAL_EXCHANGE = https://exchange.example.com
ALLOW_REGISTRATION = yes
diff --git a/libeufin-common/src/main/kotlin/TalerCommon.kt b/libeufin-common/src/main/kotlin/TalerCommon.kt
@@ -536,7 +536,7 @@ class IbanPayto internal constructor(
}
fun rand(name: String? = null, country: Country = Country.DE): IbanPayto = parse(
- "payto://iban/SANDBOXX/${IBAN.rand(country)}${
+ "payto://iban/${IBAN.rand(country)}${
if (name != null) {
"?receiver-name=${name.encodeURLParameter()}"
} else {
diff --git a/libeufin-nexus/src/main/kotlin/tech/libeufin/nexus/cli/Testing.kt b/libeufin-nexus/src/main/kotlin/tech/libeufin/nexus/cli/Testing.kt
@@ -120,7 +120,6 @@ class FakeIncoming : TalerCmd() {
require(amount.currency == cfg.currency) {
"Wrong currency: expected ${cfg.currency} got ${amount.currency}"
}
-
registerIncomingPayment(
db, cfg.ingest,
IncomingPayment(