Commit a11820c4 authored by linj's avatar linj Committed by vipwzw
parent 956fff48
...@@ -209,7 +209,7 @@ func (client *Client) CreateBlock() { ...@@ -209,7 +209,7 @@ func (client *Client) CreateBlock() {
// 向raft底层发送block // 向raft底层发送block
func (client *Client) propose(block *types.Block) { func (client *Client) propose(block *types.Block) {
client.proposeC <- block client.proposeC <- block.Clone()
} }
// 从receive channel中读leader发来的block // 从receive channel中读leader发来的block
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment