mirror of
https://github.com/codex-storage/nim-codex.git
synced 2025-01-23 03:09:59 +00:00
rename method
This commit is contained in:
parent
b8a859d5a5
commit
a8f4ad7f51
@ -251,7 +251,7 @@ proc store*(
|
||||
for index, cid in cids:
|
||||
without proof =? tree.getProof(index), err:
|
||||
return failure(err)
|
||||
if err =? (await self.blockStore.putBlockCidAndProof(treeCid, index, cid, proof)).errorOption:
|
||||
if err =? (await self.blockStore.putCidAndProof(treeCid, index, cid, proof)).errorOption:
|
||||
# TODO add log here
|
||||
return failure(err)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user