Skip to content

Commit

Permalink
extend comment
Browse files Browse the repository at this point in the history
  • Loading branch information
quasisamurai committed Feb 28, 2024
1 parent fd28c9f commit 8483e61
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions packages/neutron-sdk/src/interchain_txs/v045/helpers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ pub fn decode_acknowledgement_response(data: Binary) -> StdResult<Vec<MsgData>>
})
.collect::<StdResult<Vec<MsgData>>>()
} else {
// field `.data` is deprecated since cosmos-sdk v047.
// but for backwards compatibility we still allow this.
// Field `.data` is deprecated since cosmos-sdk v047.
// But for backwards compatibility we still allow that. Given function can be used w both v045 & v047
#[allow(deprecated)]
Ok(msg.data)
}
Expand Down
2 changes: 1 addition & 1 deletion packages/neutron-sdk/src/interchain_txs/v047/helpers.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use cosmos_sdk_proto::{
cosmos::base::abci::v1beta1::{MsgData, TxMsgData},
cosmos::base::abci::v1beta1::TxMsgData,
traits::Message,
};
use cosmwasm_std::{Binary, StdError, StdResult};
Expand Down

0 comments on commit 8483e61

Please # to comment.