Skip to content

Commit 85e9b81

Browse files
authored
Merge pull request #11 from cryptape/gp/support0.111.0
fix: get_consensus
2 parents 8ec3208 + 500844c commit 85e9b81

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ckb/test/ckb.spec.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ describe('Ckb Node Rpc check Tests', function () {
8888
// })
8989

9090
it("get_consensus", async () => {
91-
await ckbRequestTest(this.ctx, TestCkBkbClient.getConsensus(), config)
91+
await ckbRequestTest(this.ctx, request(1,config.rpc,"get_consensus",[]), config)
9292
})
9393
it("get_block_median_time", async () => {
9494
await ckbRequestTest(this.ctx, request(1, config.rpc, "get_block_median_time", ["0xb3c5b9789dff3821e298a62e6cc4060accb19ed2558f988a8826573252b9ae20"]), config)

0 commit comments

Comments
 (0)