aboutsummaryrefslogtreecommitdiff
path: root/src/crypto/cryptoApi-test.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/crypto/cryptoApi-test.ts')
-rw-r--r--src/crypto/cryptoApi-test.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/crypto/cryptoApi-test.ts b/src/crypto/cryptoApi-test.ts
index 7e391cd91..d96d69e40 100644
--- a/src/crypto/cryptoApi-test.ts
+++ b/src/crypto/cryptoApi-test.ts
@@ -81,16 +81,16 @@ test("precoin creation", async (t) => {
const crypto = new CryptoApi();
const {priv, pub} = await crypto.createEddsaKeypair();
const r: ReserveRecord = {
- confirmed: false,
created: 0,
current_amount: null,
exchange_base_url: "https://example.com/exchange",
hasPayback: false,
- last_query: null,
precoin_amount: {currency: "PUDOS", value: 0, fraction: 0},
requested_amount: {currency: "PUDOS", value: 0, fraction: 0},
reserve_priv: priv,
reserve_pub: pub,
+ timestamp_confirmed: 0,
+ timestamp_depleted: 0,
};
const precoin = await crypto.createPreCoin(denomValid1, r);