libeufin

Integration and sandbox testing for FinTech APIs and data formats
Log | Files | Refs | Submodules | README | LICENSE

commit 7d3c06a39d8121a2a13f763a6c1ebd939d08a130
parent 567bf82e855829652b2250f83acd1f8fcf82e37c
Author: Antoine A <>
Date:   Tue,  5 Nov 2024 15:52:00 +0100

typo

Diffstat:
Mbank/src/main/kotlin/tech/libeufin/bank/cli/CreateToken.kt | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bank/src/main/kotlin/tech/libeufin/bank/cli/CreateToken.kt b/bank/src/main/kotlin/tech/libeufin/bank/cli/CreateToken.kt @@ -45,7 +45,7 @@ class CreateToken : CliktCommand("create-token") { if (it == "forever") { ChronoUnit.FOREVER.duration } else { - val dUs = it.toLongOrNull() ?: throw Exception("Expected forver or a number in micros") + val dUs = it.toLongOrNull() ?: throw Exception("Expected forever or a number in micros") when { dUs < 0 -> throw Exception("Negative duration specified") dUs > RelativeTime.MAX_SAFE_INTEGER -> throw Exception("Duration value exceed cap (2^53-1)")