diff --git a/src/libs/clients/v0.46.0.ts b/src/libs/clients/v0.46.0.ts index 00b3a5df..d8a17d30 100644 --- a/src/libs/clients/v0.46.0.ts +++ b/src/libs/clients/v0.46.0.ts @@ -17,7 +17,7 @@ export const name = 'v0.46.7' function proposalAdapter(p: any): GovProposal { if(p) { - if(p.messages) p.content = p.messages[0].content || p.messages[0] + if(p.messages && p.messages.length >= 1) p.content = p.messages[0].content || p.messages[0] p.proposal_id = p.id p.final_tally_result = { yes: p.final_tally_result?.yes_count,