graph: export NewErrf and ErrorCode for upcoming gossiper unit tests

This commit is contained in:
Eugene Siegel committed 2024-08-27 14:11:06 -04:00
1 parent 8e0d7774b2
commit 9380292a5a
4 files changed
+29 -29

No files matched your search

+1 -1
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()