OpenBazaar / openbazaar-go

OpenBazaar 2.0 Server Daemon in Go
MIT License
994 stars 284 forks source link

Create exchange rates currency code function #1725

Open cpacia opened 4 years ago

cpacia commented 4 years ago

Right now we only have the ability to deal with codes like TBTC or TBCH but the exchange rate API does not accept rates starting with T. Thus we need a function to convert for the purpose of querying the API. Right now we're just trimming the T off the string.

hoffmabc commented 4 years ago

Is this still valid @cpacia please close if not.