新注册的用户请输入邮箱并保存,随后登录邮箱激活账号。后续可直接使用邮箱登录!

Commit 1182affc authored by gh lu's avatar gh lu

fix: cancle clean writemap after new kv iterator

--bug=0
parent 2a230458
......@@ -719,7 +719,7 @@ func (s *SDK) newIterator(iteratorFuncName, startKey string, startField string,
}
// reset writeMap
s.writeMap = make(map[string][]byte, MapSize)
//s.writeMap = make(map[string][]byte, MapSize)
createKvIteratorReq := &protogo.DockerVMMessage{
ChainId: s.chainId,
......@@ -774,7 +774,7 @@ func (s *SDK) NewHistoryKvIterForKey(key, field string) (KeyHistoryKvIter, error
}
// reset writeMap
s.writeMap = make(map[string][]byte, MapSize)
//s.writeMap = make(map[string][]byte, MapSize)
createKeyHistoryKvIterReq := &protogo.DockerVMMessage{
ChainId: s.chainId,
......
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