forked from cerc-io/laconicd-deprecated
actions: fix test-importer workflow (#410)
* actions: fix test-importer workflow * update gitignore
This commit is contained in:
@@ -207,7 +207,10 @@ func TestImportBlocks(t *testing.T) {
|
||||
blockchainInput, err := os.Open(flagBlockchain)
|
||||
require.Nil(t, err)
|
||||
|
||||
defer require.NoError(t, blockchainInput.Close())
|
||||
defer func() {
|
||||
err := blockchainInput.Close()
|
||||
require.NoError(t, err)
|
||||
}()
|
||||
|
||||
// ethereum mainnet config
|
||||
chainContext := core.NewChainContext()
|
||||
|
||||
Reference in New Issue
Block a user