From c0952c53574c03222385736d33a4d5a24323cbd2 Mon Sep 17 00:00:00 2001 From: capossele <angelocapossele@gmail.com> Date: Tue, 16 Jun 2020 14:09:56 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fix=20snapshot=20file=20print?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dapps/valuetransfers/dapp.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dapps/valuetransfers/dapp.go b/dapps/valuetransfers/dapp.go index e929205d..45d8ad1a 100644 --- a/dapps/valuetransfers/dapp.go +++ b/dapps/valuetransfers/dapp.go @@ -1,8 +1,6 @@ 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) { -- GitLab