Skip to content

Commit

Permalink
Use CurrencyID.valueOf(String s) in STO property handling
Browse files Browse the repository at this point in the history
  • Loading branch information
dexX7 committed Jan 29, 2015
1 parent 804c402 commit 7ceb233
Showing 1 changed file with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -271,12 +271,7 @@ class MSCSendToOwnersTestPlanSpec extends BaseRegTestSpec {
requestMSC(actorAddress, numberOfTokens)
generateBlock()
}

if (propertyName == "MSC") {
return CurrencyID.MSC;
} else {
return CurrencyID.TMSC;
}
return CurrencyID.valueOf(propertyName)
}

numberOfTokens += amountAvailable
Expand Down

0 comments on commit 7ceb233

Please sign in to comment.