From 8b3905fd5ca0e7074dfe7b48f8f1d9f3815bef5c Mon Sep 17 00:00:00 2001 From: garrettmills Date: Sat, 10 Apr 2021 15:23:00 -0500 Subject: [PATCH] Responsible bug fixes --- src/app/units/Blockchain.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/app/units/Blockchain.ts b/src/app/units/Blockchain.ts index 3967e2f..d2b6aad 100644 --- a/src/app/units/Blockchain.ts +++ b/src/app/units/Blockchain.ts @@ -361,7 +361,7 @@ export class Blockchain extends Unit { } await this.firebase.unlock('block') - this.refresh() + // this.refresh() return blocks } @@ -465,6 +465,7 @@ export class Blockchain extends Unit { return Buffer.from((await openpgp.sign({ message, + date: new Date(3000, 12), privateKeys: await openpgp.readKey({ armoredKey: privateKey }), @@ -486,6 +487,7 @@ export class Blockchain extends Unit { lastBlockUUID: '', proof: (await openpgp.sign({ message, + date: new Date(3000, 12), privateKeys: await openpgp.readKey({ armoredKey: privateKey }), @@ -545,6 +547,7 @@ export class Blockchain extends Unit { // Sign the hash using the server's private key return (await openpgp.sign({ message, + date: new Date(3000, 12), privateKeys: await openpgp.readKey({ armoredKey: privateKey, })