style: enable strict gofumpt (#15579)
This commit is contained in:
@@ -88,6 +88,6 @@ func Module(moduleName string, derivationKeys ...[]byte) []byte {
|
||||
// Derive derives a new address from the main `address` and a derivation `key`.
|
||||
// This function is used to create a sub accounts. To create a module accounts use the
|
||||
// `Module` function.
|
||||
func Derive(address []byte, key []byte) []byte {
|
||||
func Derive(address, key []byte) []byte {
|
||||
return Hash(conv.UnsafeBytesToStr(address), key)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user