fx/ingestor currencies map fixed

This commit is contained in:
Stephan D
2025-12-12 11:05:12 +01:00
parent 681d53e856
commit 17333df7af
26 changed files with 86 additions and 92 deletions

View File

@@ -8,9 +8,10 @@ import (
)
type CryptoAddressPaymentData struct {
Address string `bson:"address" json:"address"`
Network string `bson:"network" json:"network"`
DestinationTag *string `bson:"destinationTag,omitempty" json:"destinationTag,omitempty"`
Currency Currency `bson:"currency" json:"currency"`
Address string `bson:"address" json:"address"`
Network string `bson:"network" json:"network"`
DestinationTag *string `bson:"destinationTag,omitempty" json:"destinationTag,omitempty"`
}
func (m *PaymentMethod) AsCryptoAddress() (*CryptoAddressPaymentData, error) {