]> zoso.dev Git - libnemo.git/commitdiff
Log total accounts generated.
authorChris Duncan <chris@zoso.dev>
Wed, 4 Dec 2024 00:32:28 +0000 (16:32 -0800)
committerChris Duncan <chris@zoso.dev>
Wed, 4 Dec 2024 00:32:28 +0000 (16:32 -0800)
test.html

index fe7737b2339869f556c9fab2d47fb2f5fa93fa36..92bc8b017733fdaaafaac221887e325f7598e614 100644 (file)
--- a/test.html
+++ b/test.html
@@ -9,7 +9,7 @@
                console.log(bipWallet.mnemonic)
                let now = performance.now()
                const bipAccounts = await bipWallet.accounts(0, 0x2000)
-               console.log(`bip44 done: ${performance.now() - now} ms`)
+               console.log(`${bipAccounts.length} bip44 accounts done: ${performance.now() - now} ms`)
                const bipAccount = bipAccounts[0]
                console.log(bipAccount.privateKey)
                console.log(bipAccount.publicKey)
@@ -21,7 +21,7 @@
                console.log(blakeWallet.mnemonic)
                now = performance.now()
                const blakeAccounts = await blakeWallet.accounts(0, 0x2000)
-               console.log(`blake2b done: ${performance.now() - now} ms`)
+               console.log(`${blakeAccounts.length} blake2b accounts done: ${performance.now() - now} ms`)
                const blakeAccount = blakeAccounts[0]
                console.log(blakeAccount.privateKey)
                console.log(blakeAccount.publicKey)