graph: export NewErrf and ErrorCode for upcoming gossiper unit tests

This commit is contained in:
Eugene Siegel
2024-08-14 14:08:01 -04:00
parent 8e0d7774b2
commit 9380292a5a
4 changed files with 29 additions and 29 deletions

View File

@@ -1275,7 +1275,7 @@ func newChannelEdgeInfo(t *testing.T, ctx *testCtx, fundingHeight uint32,
}
func assertChanChainRejection(t *testing.T, ctx *testCtx,
edge *models.ChannelEdgeInfo, failCode errorCode) {
edge *models.ChannelEdgeInfo, failCode ErrorCode) {
t.Helper()