contractcourt: add verbose logging in resolvers

We now put the outpoint in the resolvers's logging so it's easier to
debug.
This commit is contained in:
yyforyongyu committed 2024-12-20 17:54:03 +08:00
1 parent 0bab6b3419
commit 1f2cfc6a60
6 files changed
+44 -31

No files matched your search

+2 -1
View File
@@ -2,6 +2,7 @@ package contractcourt
import (
"errors"
"fmt"
"io"
"sync"
@@ -71,7 +72,7 @@ func newAnchorResolver(anchorSignDescriptor input.SignDescriptor,
currentReport: report,
}
r.initLogger(r)
r.initLogger(fmt.Sprintf("%T(%v)", r, r.anchor))
return r
}