mirror of
https://github.com/kaspanet/kaspad.git
synced 2025-11-24 06:25:55 +00:00
fmt
This commit is contained in:
parent
f13e4493fa
commit
d7d3c72cf3
@ -5,9 +5,9 @@
|
||||
package util
|
||||
|
||||
import (
|
||||
"github.com/kaspanet/kaspad/util/bech32"
|
||||
"github.com/pkg/errors"
|
||||
"golang.org/x/crypto/blake2b"
|
||||
"github.com/kaspanet/kaspad/util/bech32"
|
||||
)
|
||||
|
||||
var (
|
||||
@ -153,7 +153,6 @@ func DecodeAddress(addr string, expectedPrefix Bech32Prefix) (Address, error) {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// CheckIfAddressIsValid decodes the string encoding of an address and returns true
|
||||
// if addr is a valid encoding for a known address type else it returns false
|
||||
//
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user