morph/client: fix govet warnings #413
1 changed files with 2 additions and 2 deletions
|
@ -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()
|
||||
|
||||
|
|
Loading…
Reference in a new issue