aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-harness/src/harness/denomStructures.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2024-03-05 10:30:25 +0100
committerFlorian Dold <florian@dold.me>2024-03-05 10:30:30 +0100
commit63aedafd841f3a3d7d3b7974d4e5b8fbd02afd3d (patch)
tree98a92ffb670e63f2253ee9b2a068f7234634eda2 /packages/taler-harness/src/harness/denomStructures.ts
parent187031b9336e3c81aaa05c79e345adf5ac997980 (diff)
downloadwallet-core-63aedafd841f3a3d7d3b7974d4e5b8fbd02afd3d.tar.xz
wallet-core: have balance item even on zero balance
Also add a test for this.
Diffstat (limited to 'packages/taler-harness/src/harness/denomStructures.ts')
-rw-r--r--packages/taler-harness/src/harness/denomStructures.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/taler-harness/src/harness/denomStructures.ts b/packages/taler-harness/src/harness/denomStructures.ts
index b12857c7e..2d5e719b0 100644
--- a/packages/taler-harness/src/harness/denomStructures.ts
+++ b/packages/taler-harness/src/harness/denomStructures.ts
@@ -136,7 +136,7 @@ export function makeNoFeeCoinConfig(curr: string): CoinConfig[] {
const ct = 2 ** i;
const unit = Math.floor(ct / 100);
- const cent = ct % 100;
+ const cent = `${ct % 100}`.padStart(2, "0");
cc.push({
cipher: "RSA",