fixed mntx discovery
This commit is contained in:
@@ -224,7 +224,7 @@ func (s *Service) startDiscoveryAnnouncers() {
|
||||
announce := discovery.Announcement{
|
||||
ID: discovery.StableCryptoRailGatewayID(string(network.Name)),
|
||||
InstanceID: discovery.InstanceID(),
|
||||
Service: "CRYPTO_RAIL_GATEWAY",
|
||||
Service: mservice.ChainWallets,
|
||||
Rail: discovery.RailCrypto,
|
||||
Operations: discovery.CryptoRailGatewayOperations(),
|
||||
Currencies: currencies,
|
||||
|
||||
@@ -151,7 +151,7 @@ func (s *Service) startDiscoveryAnnouncer() {
|
||||
return
|
||||
}
|
||||
announce := discovery.Announcement{
|
||||
Service: "CARD",
|
||||
Service: mservice.MntxGateway,
|
||||
Rail: discovery.RailCardPayout,
|
||||
Operations: discovery.CardPayoutRailGatewayOperations(),
|
||||
InvokeURI: s.invokeURI,
|
||||
|
||||
@@ -534,7 +534,7 @@ func (s *Service) startAnnouncer() {
|
||||
announce := discovery.Announcement{
|
||||
ID: discovery.StablePaymentGatewayID(rail),
|
||||
InstanceID: discovery.InstanceID(),
|
||||
Service: string(mservice.PaymentGateway),
|
||||
Service: mservice.TgSettle,
|
||||
Rail: rail,
|
||||
Operations: caps,
|
||||
InvokeURI: s.invokeURI,
|
||||
|
||||
@@ -229,7 +229,7 @@ func (s *Service) startDiscoveryAnnouncers() {
|
||||
announce := discovery.Announcement{
|
||||
ID: discovery.StableCryptoRailGatewayID(network.Name.String()),
|
||||
InstanceID: discovery.InstanceID(),
|
||||
Service: "CRYPTO_RAIL_GATEWAY",
|
||||
Service: mservice.TronGateway,
|
||||
Rail: discovery.RailCrypto,
|
||||
Operations: discovery.CryptoRailGatewayOperations(),
|
||||
Currencies: currencies,
|
||||
|
||||
Reference in New Issue
Block a user