From 91cf35e22c3ccbee5dc20500a045347f8d7353ca Mon Sep 17 00:00:00 2001 From: Chris Duncan Date: Mon, 25 Nov 2024 13:54:19 -0800 Subject: [PATCH] Fix send block test not awaiting signature call. --- test/tools.test.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.34.1