Skip to content

Commit

Permalink
fixes after review
Browse files Browse the repository at this point in the history
  • Loading branch information
miiu96 committed Sep 19, 2023
1 parent 6d20949 commit 7701a26
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 1 addition & 0 deletions node/chainSimulator/bootstrapComponents.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import (
"github.com/multiversx/mx-chain-go/sharding"
)

// ArgsBootstrapComponentsHolder will hold the components needed for the bootstrap components holders
type ArgsBootstrapComponentsHolder struct {
CoreComponents factory.CoreComponentsHolder
CryptoComponents factory.CryptoComponentsHolder
Expand Down
4 changes: 1 addition & 3 deletions node/chainSimulator/testOnlyProcessingNode_test.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package chainSimulator

import (
"os"
"testing"

"github.com/multiversx/mx-chain-go/config"
Expand Down Expand Up @@ -31,8 +30,7 @@ func createMockArgsTestOnlyProcessingNode(t *testing.T) ArgsTestOnlyProcessingNo
err = LoadConfigFromFile(pathForPrefsConfig, &prefsConfig)
assert.Nil(t, err)

workingDir, err := os.Getwd()
assert.Nil(t, err)
workingDir := t.TempDir()

return ArgsTestOnlyProcessingNode{
Config: mainConfig,
Expand Down

0 comments on commit 7701a26

Please sign in to comment.