()
| 316 | } |
| 317 | |
| 318 | func (r *runtime) getPeers() *proto.Peers { |
| 319 | r.peersMutex.Lock() |
| 320 | defer r.peersMutex.Unlock() |
| 321 | peers := r.peers.Clone() |
| 322 | return &peers |
| 323 | } |
| 324 | |
| 325 | func (r *runtime) getLastBillingHeight() int32 { |
| 326 | r.stateMutex.Lock() |
no test coverage detected