contractcourt: update htlcTimeoutResolver for taproot chans

This commit is contained in:
Olaoluwa Osuntokun committed 2023-08-22 16:33:36 -07:00
1 parent 47f70dae3a
commit 23f7ee39c7
2 files changed
+174 -29

No files matched your search

+8
View File
@@ -0,0 +1,8 @@
package lnutils
// PTr returns the pointer of the given value. This is useful in instances
// where a function returns the value, but a pointer is wanted. Without this,
// then an intermediate variable is needed.
func Ptr[T any](v T) *T {
return &v
}