Skip to content

Commit 0cc114f

Browse files
committed
fix: rename variable in selfXCC function for clarity
1 parent 0b3fe74 commit 0cc114f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/core/Initiator.sol

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,10 +65,10 @@ abstract contract Initiator is IInitiator, TxAuthManagerBase, TxManagerBase {
6565
}
6666

6767
function selfXCC() external view virtual override returns (QuerySelfXCCResponse.Data memory) {
68-
ChannelInfo.Data memory selfXCC = ChannelInfo.Data({port: "", channel: ""});
68+
ChannelInfo.Data memory channelInfo = ChannelInfo.Data({port: "", channel: ""});
6969

7070
string memory typeURL = "/cross.core.xcc.ChannelInfo";
71-
bytes memory value = ChannelInfo.encode(selfXCC);
71+
bytes memory value = ChannelInfo.encode(channelInfo);
7272

7373
GoogleProtobufAny.Data memory anyXCC = GoogleProtobufAny.Data({type_url: typeURL, value: value});
7474

0 commit comments

Comments
 (0)