Skip to content
Snippets Groups Projects
Unverified Commit c0952c53 authored by capossele's avatar capossele
Browse files

:bug: Fix snapshot file print

parent 67d12a13
Branches
No related tags found
No related merge requests found
package valuetransfers
import (
"github.com/iotaledger/goshimmer/plugins/config"
flag "github.com/spf13/pflag"
"os"
"sync"
"time"
......@@ -16,12 +14,14 @@ import (
messageTangle "github.com/iotaledger/goshimmer/packages/binary/messagelayer/tangle"
"github.com/iotaledger/goshimmer/packages/shutdown"
"github.com/iotaledger/goshimmer/packages/vote"
"github.com/iotaledger/goshimmer/plugins/config"
"github.com/iotaledger/goshimmer/plugins/database"
"github.com/iotaledger/goshimmer/plugins/messagelayer"
"github.com/iotaledger/hive.go/daemon"
"github.com/iotaledger/hive.go/events"
"github.com/iotaledger/hive.go/logger"
"github.com/iotaledger/hive.go/node"
flag "github.com/spf13/pflag"
)
const (
......@@ -85,7 +85,7 @@ func configure(_ *node.Plugin) {
log.Panic("could not read snapshot file:", err)
}
Tangle.LoadSnapshot(snapshot)
log.Info("read snapshot from %s", snapshotFilePath)
log.Infof("read snapshot from %s", snapshotFilePath)
}
Tangle.Events.Error.Attach(events.NewClosure(func(err error) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment