lnd/contractcourt
yyforyongyu a252cb4528
contractcourt: fix test flake in TestTaprootBriefcase
When the numTweaks is zero, we should return a nil instead of
initializing an empty map as we'd get the following error,

```
Diff:
--- Expected
+++ Actual
@@ -11007,4 +11007,3 @@
},
-  BreachedHtlcTweaks: (contractcourt.htlcTapTweaks) {
-  },
+  BreachedHtlcTweaks: (contractcourt.htlcTapTweaks) <nil>,
```
2023-09-05 07:44:02 +08:00
..
2023-08-22 16:34:15 -07:00
2023-08-22 16:34:15 -07:00
2022-07-14 09:30:53 +02:00
2023-08-22 16:34:15 -07:00