commit inicial do projeto
This commit is contained in:
7
internal/state/domain.go
Normal file
7
internal/state/domain.go
Normal file
@ -0,0 +1,7 @@
|
||||
package state
|
||||
|
||||
func (s *State) GetBalance(addr string) uint64 {
|
||||
s.mu.RLock()
|
||||
defer s.mu.RUnlock()
|
||||
return s.Balances[addr]
|
||||
}
|
||||
Reference in New Issue
Block a user