We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d1de6db commit fbaf94dCopy full SHA for fbaf94d
tm2/pkg/crypto/globals_test.go
@@ -23,12 +23,10 @@ func TestGetBech32PubKeyPrefix(t *testing.T) {
23
func TestSetters(t *testing.T) {
24
// Multiple calls should not panic or cause issues
25
SetBech32AddrPrefix("a")
26
- SetBech32AddrPrefix("a")
27
- SetBech32AddrPrefix(GetBech32AddrPrefix())
+ SetBech32AddrPrefix("b")
28
29
SetBech32PubKeyPrefix("apub")
30
SetBech32PubKeyPrefix("bpub")
31
- SetBech32PubKeyPrefix(GetBech32PubKeyPrefix())
32
33
require.NotEmpty(t, "a")
34
require.NotEmpty(t, "apub")
0 commit comments