mirror of
https://github.com/LBRYFoundation/lbcd.git
synced 2025-08-28 07:51:32 +00:00
gofmt.
This commit is contained in:
parent
30f2003301
commit
85553133ce
3 changed files with 10 additions and 12 deletions
|
@ -262,7 +262,6 @@ func (db *LevelDb) InsertBlock(block *btcutil.Block) (height int64, rerr error)
|
||||||
}
|
}
|
||||||
}()
|
}()
|
||||||
|
|
||||||
|
|
||||||
blocksha, err := block.Sha()
|
blocksha, err := block.Sha()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Warnf("Failed to compute block sha %v", blocksha)
|
log.Warnf("Failed to compute block sha %v", blocksha)
|
||||||
|
|
|
@ -282,7 +282,6 @@ func testBackout(t *testing.T, mode int) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
var savedblocks []*btcutil.Block
|
var savedblocks []*btcutil.Block
|
||||||
|
|
||||||
func loadBlocks(t *testing.T, file string) (blocks []*btcutil.Block, err error) {
|
func loadBlocks(t *testing.T, file string) (blocks []*btcutil.Block, err error) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue