more conversions.

This commit is contained in:
fiatjaf
2025-04-15 00:00:03 -03:00
parent f9e4a5efa3
commit 376834cbf9
117 changed files with 450 additions and 1019 deletions
+5
View File
@@ -6,6 +6,11 @@ import (
"unsafe"
)
var (
ZeroID = [32]byte{}
ZeroPK = [32]byte{}
)
type PubKey [32]byte
func (pk PubKey) String() string { return hex.EncodeToString(pk[:]) }