Skip to content

Commit 18853a0

Browse files
committed
Remove JSON RPC related code iotexproject#1057
1 parent c26b487 commit 18853a0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

consensus/scheme/rolldpos/rolldposctx.go

+2-1
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,8 @@ func (ctx *rollDPoSCtx) Commit(msg interface{}) (bool, error) {
386386
}
387387
// putblock to parent chain if the current node is proposer and current chain is a sub chain
388388
if ctx.round.Proposer() == ctx.encodedAddr && ctx.chain.ChainAddress() != "" {
389-
//todo change putBlockToParentChain(ctx.rootChainAPI, ctx.chain.ChainAddress(), ctx.priKey, ctx.encodedAddr, pendingBlock)
389+
// todo change putBlockToParentChain(ctx.rootChainAPI,
390+
// ctx.chain.ChainAddress(), ctx.priKey, ctx.encodedAddr, pendingBlock)
390391
}
391392
} else {
392393
ctx.logger().Panic(

0 commit comments

Comments
 (0)