From 03782f8aea043042aaa069de0b91cdb80fbb4679 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Sun, 15 Oct 2017 18:30:02 +0200 Subject: derive history from db instead of storing it --- src/crypto/cryptoApi-test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/crypto/cryptoApi-test.ts') 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); -- cgit v1.2.3