()
| 48 | } |
| 49 | |
| 50 | func newMetaIndex() *metaIndex { |
| 51 | return &metaIndex{ |
| 52 | accounts: make(map[proto.AccountAddress]*types.Account), |
| 53 | databases: make(map[proto.DatabaseID]*types.SQLChainProfile), |
| 54 | provider: make(map[proto.AccountAddress]*types.ProviderProfile), |
| 55 | } |
| 56 | } |
| 57 | |
| 58 | func (i *metaIndex) deepCopy() (cpy *metaIndex) { |
| 59 | cpy = newMetaIndex() |