From: Chris Duncan Date: Mon, 25 Nov 2024 21:54:19 +0000 (-0800) Subject: Fix send block test not awaiting signature call. X-Git-Url: https://zoso.dev/?a=commitdiff_plain;h=91cf35e22c3ccbee5dc20500a045347f8d7353ca;p=libnemo.git Fix send block test not awaiting signature call. --- diff --git a/test/tools.test.mjs b/test/tools.test.mjs index b9a7bf2..b1b35ed 100644 --- a/test/tools.test.mjs +++ b/test/tools.test.mjs @@ -126,7 +126,7 @@ describe('signature tests', async () => { 'nano_1stofnrxuz3cai7ze75o174bpm7scwj9jn3nxsn8ntzg784jf1gzn1jjdkou', '92BA74A7D6DC7557F3EDA95ADC6341D51AC777A0A6FF0688A5C492AB2B2CB40D', ) - sendBlock.sign(account.privateKey) + await sendBlock.sign(account.privateKey) sendBlock.account = new Account('nano_1q3hqecaw15cjt7thbtxu3pbzr1eihtzzpzxguoc37bj1wc5ffoh7w74gi6p') const valid = await sendBlock.verify(account.publicKey)