mirror of
https://github.com/fiatjaf/nak.git
synced 2025-12-09 09:08:50 +00:00
fs: something that makes more sense.
This commit is contained in:
8
nostrfs/helpers.go
Normal file
8
nostrfs/helpers.go
Normal file
@@ -0,0 +1,8 @@
|
||||
package nostrfs
|
||||
|
||||
import "strconv"
|
||||
|
||||
func hexToUint64(hexStr string) uint64 {
|
||||
v, _ := strconv.ParseUint(hexStr[0:16], 16, 64)
|
||||
return v
|
||||
}
|
||||
Reference in New Issue
Block a user