Make coins denoms case insensitive (#3092)

This commit is contained in:
Alessio Treglia
2018-12-18 11:14:11 -08:00
committed by Jack Zampolin
parent eac7d6939d
commit 500fa2b694
14 changed files with 159 additions and 136 deletions
+2 -2
View File
@@ -21,7 +21,7 @@ func TestEncoding(t *testing.T) {
sendMsg := MsgSend{
From: addr1,
To: addr2,
Amount: sdk.Coins{sdk.NewCoin("testCoins", sdk.NewInt(100))},
Amount: sdk.Coins{sdk.NewCoin("testcoins", sdk.NewInt(100))},
}
// Construct transaction
@@ -55,7 +55,7 @@ func TestEncoding(t *testing.T) {
issueMsg := MsgIssue{
Issuer: addr1,
Receiver: addr2,
Coin: sdk.Coin{"testCoin", sdk.NewInt(100)},
Coin: sdk.NewCoin("testcoin", sdk.NewInt(100)),
}
signBytes = issueMsg.GetSignBytes()