[#1418] blobovnicza: Do not use pointers as parameters

Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
This commit is contained in:
Pavel Karpy 2022-05-23 17:21:14 +03:00 committed by fyrchik
parent 281befec67
commit 021aa97965
6 changed files with 7 additions and 7 deletions

View file

@ -19,7 +19,7 @@ func TestBlobovniczaIterate(t *testing.T) {
data := [][]byte{{0, 1, 2, 3}, {5, 6, 7, 8}}
addr := oidtest.Address()
_, err := b.Put(&PutPrm{addr: addr, objData: data[0]})
_, err := b.Put(PutPrm{addr: addr, objData: data[0]})
require.NoError(t, err)
require.NoError(t, b.boltDB.Update(func(tx *bbolt.Tx) error {