util: add LE suffix to Uint256 methods
This commit is contained in:
parent
57efad912c
commit
7179e4ba9f
40 changed files with 143 additions and 138 deletions
|
@ -55,7 +55,7 @@ func TestAddBlock(t *testing.T) {
|
|||
require.NoError(t, bc.persist())
|
||||
|
||||
for _, block := range blocks {
|
||||
key := storage.AppendPrefix(storage.DataBlock, block.Hash().BytesReverse())
|
||||
key := storage.AppendPrefix(storage.DataBlock, block.Hash().BytesLE())
|
||||
if _, err := bc.store.Get(key); err != nil {
|
||||
t.Fatalf("block %s not persisted", block.Hash())
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue