]> git.codecow.com Git - libnemo.git/commitdiff
Fix missed method name update.
authorChris Duncan <chris@zoso.dev>
Mon, 22 Sep 2025 18:21:23 +0000 (11:21 -0700)
committerChris Duncan <chris@zoso.dev>
Mon, 22 Sep 2025 18:21:23 +0000 (11:21 -0700)
src/lib/block.ts

index 306e3c44ea7b4bd637fb09b58a524182734b9720..2174456dcbaec05fc8cf9b1ee39d002b3fa7d2ef 100644 (file)
@@ -269,7 +269,7 @@ export class Block {
                        json_block: true,
                        block: this.toJSON()
                }
-               const res = await rpc.call('process', data)
+               const res = await rpc.post('process', data)
                if (res.hash == null) {
                        throw new Error('Block could not be processed', { cause: res })
                }