From 4b49a089140f30a6bf2dbfd588716981e0ef2252 Mon Sep 17 00:00:00 2001 From: Pieter Vander Vennet Date: Mon, 6 May 2024 11:13:27 +0200 Subject: [PATCH] Fix tests, see #1943 --- src/Models/Denomination.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Models/Denomination.ts b/src/Models/Denomination.ts index 4a7b13c12..51ccb3715 100644 --- a/src/Models/Denomination.ts +++ b/src/Models/Denomination.ts @@ -183,7 +183,7 @@ export class Denomination { } function substr(key) { - if (this.prefix) { + if (self.prefix) { return value.substring(key.length).trim() } let trimmed = value.substring(0, value.length - key.length).trim()