-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Active release unbonding #3102
Active release unbonding #3102
Conversation
31936f3
to
125ee60
Compare
DelegateeAddress = delegateeAddress; | ||
DelegateeAccountAddress = delegateeAccountAddress; | ||
DelegationCurrency = new Currency(bencoded[2]); | ||
RewardCurrencies = ((List)bencoded[3]).Select(v => new Currency(v)).ToImmutableSortedSet(_currencyComparer); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
https://github.com/microsoft/referencesource/blob/51cf7850defa8a17d815b4700b67116e3fa283c2/mscorlib/system/stringcomparer.cs#L24
처럼 CurrencyComparer
클래스내에 정적 속성을 제공하고 그걸 사용할 수 있는 방법이 있습니다.
_currencyComparer
대신에 CurrencyComparer.Default
를 사용하는 것이지요
d596287
to
6328d39
Compare
@ipdae 혹시 a2179b1 커밋에 대해서만 좀 디테일하게 리뷰 요청드려도 괜찮을까요? 편의상, 증액을 Staking, 감액을 Unstaking이라 부릅니다.
해당 변경사항 취소되었습니다 |
de40b14
to
a717d07
Compare
3bc8409
to
9ea8e11
Compare
7e98e07
into
planetarium:refactor/guild-and-unbonding
No description provided.