Skip to content
This repository has been archived by the owner on May 5, 2022. It is now read-only.

fix(): fix cgCoinsMap bug #415

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

zyjblockchain
Copy link

issue 404: createCgCoinsMap function error

@@ -114,7 +114,8 @@ func createCgCoinsMap(coins Coins) map[string][]CoinResult {
PotentialCoinID: getCoinId(platform),
}

cgCoinsMap[c.Id] = []CoinResult{cr}
Copy link
Contributor

@vikmeup vikmeup Mar 24, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you write a unit test for it?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a little hard to do when writing unit tests?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants