]> zoso.dev Git - libnemo.git/commitdiff
Fix send block test not awaiting signature call.
authorChris Duncan <chris@zoso.dev>
Mon, 25 Nov 2024 21:54:19 +0000 (13:54 -0800)
committerChris Duncan <chris@zoso.dev>
Mon, 25 Nov 2024 21:54:19 +0000 (13:54 -0800)
test/tools.test.mjs

index b9a7bf29f3008bb9f29183c42937ae0f14773d16..b1b35ed21921b714877c261a9ca3a3d5182eb673 100644 (file)
@@ -126,7 +126,7 @@ describe('signature tests', async () => {
                        'nano_1stofnrxuz3cai7ze75o174bpm7scwj9jn3nxsn8ntzg784jf1gzn1jjdkou',\r
                        '92BA74A7D6DC7557F3EDA95ADC6341D51AC777A0A6FF0688A5C492AB2B2CB40D',\r
                )\r
-               sendBlock.sign(account.privateKey)\r
+               await sendBlock.sign(account.privateKey)\r
 \r
                sendBlock.account = new Account('nano_1q3hqecaw15cjt7thbtxu3pbzr1eihtzzpzxguoc37bj1wc5ffoh7w74gi6p')\r
                const valid = await sendBlock.verify(account.publicKey)\r