Convert hydrated bounty to BN
This commit is contained in:
parent
29ce4c08c6
commit
4755949496
File diff suppressed because it is too large
Load Diff
|
@ -145,6 +145,12 @@ export function massageSerializedState(state: AppState) {
|
|||
(state.proposal.detail.funded as any) as string,
|
||||
16,
|
||||
);
|
||||
if (state.proposal.detail.rfp && state.proposal.detail.rfp.bounty) {
|
||||
state.proposal.detail.rfp.bounty = new BN(
|
||||
(state.proposal.detail.rfp.bounty as any) as string,
|
||||
16,
|
||||
);
|
||||
}
|
||||
}
|
||||
// proposals
|
||||
state.proposal.page.items = state.proposal.page.items.map(p => ({
|
||||
|
|
Loading…
Reference in New Issue