protofsm: use prefixed logger for StateMachine

So that we dont have to remember to add the `FSM(%v)` prefix each time
we write a log line.
This commit is contained in:
Elle Mouton
2024-12-12 09:52:12 +02:00
parent b887c1cc5d
commit 575ea7af83
2 changed files with 34 additions and 43 deletions

View File

@@ -1,7 +1,7 @@
package protofsm
import (
"github.com/btcsuite/btclog"
"github.com/btcsuite/btclog/v2"
"github.com/lightningnetwork/lnd/build"
)