func (s *Service) ActivateAccount(info vault.AccountInfo) error {
	addrInfo := AddressInfo{
		Hash:        info.Address.Hash().String(),
		PublicKey:   info.GetActiveKey().PubKey,
		RoutingID:   info.RoutingID,
		Pow:         info.Pow.String(),
		RoutingInfo: RoutingInfo{},
	}

	return s.repo.UndeleteAddress(&addrInfo, info.GetActiveKey().PrivKey)
}
// ActivateAccount will activate an account (public key) on the keyserver. This works only if the key has been previously deactivated and not yet purged
ActivateAccount will activate an account (public key) on the keyserver. This works only if the key has been previously deactivated and not yet purged
// ActivateAccount will activate an account ( public key ) on the keyserver . This works only if the key has been previously deactivated and not yet purged
func (s *Service) ActivateAccount(info vault.AccountInfo) error {
	addrInfo := AddressInfo{
		Hash:        info.Address.Hash().String(),
		PublicKey:   info.GetActiveKey().PubKey,
		RoutingID:   info.RoutingID,
		Pow:         info.Pow.String(),
		RoutingInfo: RoutingInfo{},
	}
	return s.repo.UndeleteAddress(&addrInfo, info.GetActiveKey().PrivKey)
}
func ( s * Service ) ActivateAccount ( info vault . AccountInfo ) error { addrInfo := AddressInfo { Hash : info . Address . Hash ( ) . String ( ) , PublicKey : info . GetActiveKey ( ) . PubKey , RoutingID : info . RoutingID , Pow : info . Pow . String ( ) , RoutingInfo : RoutingInfo { } , } return s . repo . UndeleteAddress ( & addrInfo , info . GetActiveKey ( ) . PrivKey ) }
ActivateAccount will activate an account (public key) on the keyserver.
ActivateAccount will activate an account ( public key ) on the keyserver .