diff --git a/process/dataProcessor.go b/process/dataProcessor.go index cedf979..50f7274 100644 --- a/process/dataProcessor.go +++ b/process/dataProcessor.go @@ -1,9 +1,7 @@ package process import ( - "encoding/json" "fmt" - "os" "github.com/multiversx/mx-chain-core-go/core" "github.com/multiversx/mx-chain-core-go/core/check" @@ -137,18 +135,6 @@ func (dp *dataProcessor) handleShardOutportBlock(outportBlock *outport.OutportBl headerHash := outportBlock.BlockData.HeaderHash - //TODO: do not commit this - bytes1, _ := json.Marshal(outportBlock) - err = os.WriteFile(fmt.Sprintf("outportBlocks_%s.json", shardOutportBlock.BlockData.GetHeaderHash()), bytes1, 0666) - if err != nil { - fmt.Println(err.Error()) - } - bytes, _ := json.Marshal(shardOutportBlock) - err = os.WriteFile(fmt.Sprintf("shardOutportBlocks_%s.json", shardOutportBlock.BlockData.GetHeaderHash()), bytes, 0666) - if err != nil { - fmt.Println(err.Error()) - } - return dp.outportBlocksPool.PutBlock(headerHash, shardOutportBlock) }