Commit 4da9b7e9 authored by Kevin Atkinson's avatar Kevin Atkinson

IdStore => NewIdStore

parent 7ba14789
......@@ -13,7 +13,7 @@ type idstore struct {
bs Blockstore
}
func IdStore(bs Blockstore) Blockstore {
func NewIdStore(bs Blockstore) Blockstore {
return &idstore{bs}
}
......
......@@ -12,7 +12,7 @@ import (
func createTestStores() (Blockstore, *callbackDatastore) {
cd := &callbackDatastore{f: func() {}, ds: ds.NewMapDatastore()}
ids := IdStore(NewBlockstore(cd))
ids := NewIdStore(NewBlockstore(cd))
return ids, cd
}
......
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