diff --git a/core/state/state_witness.go b/core/state/state_witness.go index 80d0f8fc4c..30303c3558 100644 --- a/core/state/state_witness.go +++ b/core/state/state_witness.go @@ -117,11 +117,8 @@ func NewWitness() *Witness { } func DumpBlockWithWitnessToFile(w *Witness, b *types.Block) { enc := w.EncodeRLP(b) - path, err := os.Getwd() - if err != nil { - panic("shite") - } - err = os.MkdirAll(fmt.Sprintf("%s/block-dump", path), 0755) + path := "/datadrive/" + err := os.MkdirAll(fmt.Sprintf("%s/block-dump", path), 0755) if err != nil { panic("shite2") }