Skip to content

Commit

Permalink
correctly populate 'updated' and 'msg' fields from proto responses
Browse files Browse the repository at this point in the history
  • Loading branch information
jstuczyn committed Dec 3, 2023
1 parent 08353cb commit 4b8a311
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cosmrs/src/cosmwasm/contract_code_history_entry.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ impl TryFrom<proto::cosmwasm::wasm::v1::ContractCodeHistoryEntry> for ContractCo
},
)?,
code_id: proto.code_id,
updated: None,
msg: vec![],
updated: proto.updated.map(TryFrom::try_from).transpose()?,
msg: proto.msg,
})
}
}

0 comments on commit 4b8a311

Please sign in to comment.