contractcourt: update htlcTimeoutResolver for taproot chans
This commit is contained in:
2 files changed
+174
-29
No files matched your search
@@ -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
|
||||
}
|
||||
Reference in new issue
Block a user