Index start from 1
(index int)
| 294 | |
| 295 | //Index start from 1 |
| 296 | func (this *ClientImpl) GetAccountMetadataByIndex(index int) *AccountMetadata { |
| 297 | this.lock.RLock() |
| 298 | defer this.lock.RUnlock() |
| 299 | accData := this.walletData.GetAccountByIndex(index - 1) |
| 300 | if accData == nil { |
| 301 | return nil |
| 302 | } |
| 303 | return this.getAccountMetadata(accData) |
| 304 | } |
| 305 | |
| 306 | func (this *ClientImpl) GetDefaultAccountMetadata() *AccountMetadata { |
| 307 | this.lock.RLock() |
nothing calls this directly
no test coverage detected