mirror of
https://github.com/planetmint/planetmint-go.git
synced 2025-06-04 21:26:38 +00:00
Rename addresses from cosmos* to plmnt* (#68)
// See https://github.com/rddl-network/issues/issues/33 Signed-off-by: Julian Strobl <jmastr@mailbox.org>
This commit is contained in:
parent
46d2c0c744
commit
46b25d4ff5
@ -128,7 +128,7 @@ import (
|
||||
)
|
||||
|
||||
const (
|
||||
AccountAddressPrefix = "cosmos"
|
||||
AccountAddressPrefix = "plmnt"
|
||||
Name = "planetmint-go"
|
||||
)
|
||||
|
||||
|
13
app/app_test.go
Normal file
13
app/app_test.go
Normal file
@ -0,0 +1,13 @@
|
||||
package app
|
||||
|
||||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/stretchr/testify/assert"
|
||||
)
|
||||
|
||||
// TestAccountAddressPrefix makes sure that the account address prefix has a certain value.
|
||||
func TestAccountAddressPrefix(t *testing.T) {
|
||||
accountAddressPrefix := "plmnt"
|
||||
assert.Equal(t, AccountAddressPrefix, accountAddressPrefix, "The account address prefix should be 'plmnt'.")
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user