a bunch of [32]byte conversions. still more needed.

This commit is contained in:
fiatjaf
2025-04-14 17:31:23 -03:00
parent 40535e6b19
commit b4268d649c
132 changed files with 857 additions and 879 deletions

View File

@@ -7,7 +7,7 @@ import (
"fmt"
"github.com/btcsuite/btcd/btcutil/bech32"
"github.com/nbd-wtf/go-nostr"
"fiatjaf.com/nostrlib"
)
func Decode(bech32string string) (prefix string, value any, err error) {

View File

@@ -3,7 +3,7 @@ package nip19
import (
"testing"
"github.com/nbd-wtf/go-nostr"
"fiatjaf.com/nostrlib"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
)