[#413] morph/client: Fix govet warnings
ci/woodpecker/pr/pre-commit Pipeline was successful Details
ci/woodpecker/push/pre-commit Pipeline was successful Details

Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
pull/413/head
Evgenii Stratonikov 2023-05-31 15:37:18 +03:00
parent dbf41391b5
commit 4476a1dbaf
1 changed files with 2 additions and 2 deletions

View File

@ -90,7 +90,7 @@ type cache struct {
txHeights *lru.Cache[util.Uint256, uint32]
}
func (c cache) nns() *util.Uint160 {
func (c *cache) nns() *util.Uint160 {
c.m.RLock()
defer c.m.RUnlock()
@ -104,7 +104,7 @@ func (c *cache) setNNSHash(nnsHash util.Uint160) {
c.nnsHash = &nnsHash
}
func (c cache) groupKey() *keys.PublicKey {
func (c *cache) groupKey() *keys.PublicKey {
c.m.RLock()
defer c.m.RUnlock()