mirror of
https://github.com/kaspanet/kaspad.git
synced 2025-05-20 13:56:45 +00:00
Update address.go
This commit is contained in:
parent
73ecf6a6c6
commit
57f9475437
@ -8,7 +8,7 @@ import (
|
|||||||
"github.com/pkg/errors"
|
"github.com/pkg/errors"
|
||||||
"golang.org/x/crypto/blake2b"
|
"golang.org/x/crypto/blake2b"
|
||||||
|
|
||||||
"github.com/kaspanet/kaspad/util/bech32"
|
"github.com/fabbez/topiad/util/bech32"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
@ -118,7 +118,7 @@ type Address interface {
|
|||||||
Prefix() Bech32Prefix
|
Prefix() Bech32Prefix
|
||||||
|
|
||||||
// IsForPrefix returns whether or not the address is associated with the
|
// IsForPrefix returns whether or not the address is associated with the
|
||||||
// passed kaspa network.
|
// passed topia network.
|
||||||
IsForPrefix(prefix Bech32Prefix) bool
|
IsForPrefix(prefix Bech32Prefix) bool
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user