diff options
author | aaronbuchwald <[email protected]> | 2020-11-09 16:51:30 -0500 |
---|---|---|
committer | GitHub <[email protected]> | 2020-11-09 16:51:30 -0500 |
commit | ae4541f42a666fb5ae1c36d6f7423c3d9eb2c875 (patch) | |
tree | 449b53fd8522acc9adb54e93fdc50815f36000d9 /plugin/evm/user.go | |
parent | c613e21ea107e8369926f4b53b7830a9d5dabf18 (diff) | |
parent | 419cd2d882b93bd98f54957a15c25716fca09123 (diff) |
Merge pull request #51 from ava-labs/devv0.3.14
Dev
Diffstat (limited to 'plugin/evm/user.go')
-rw-r--r-- | plugin/evm/user.go | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/plugin/evm/user.go b/plugin/evm/user.go index b751634..0ab1863 100644 --- a/plugin/evm/user.go +++ b/plugin/evm/user.go @@ -15,12 +15,11 @@ import ( // Key in the database whose corresponding value is the list of // addresses this user controls -var addressesKey = ids.Empty.Bytes() +var addressesKey = ids.Empty[:] var ( - errDBNil = errors.New("db uninitialized") - errKeyNil = errors.New("key uninitialized") - errEmptyAddress = errors.New("address is empty") + errDBNil = errors.New("db uninitialized") + errKeyNil = errors.New("key uninitialized") ) type user struct { |