@@ -36,7 +36,7 @@ func (k Keeper) VerifyClientState(
36
36
}
37
37
38
38
merklePath := commitmenttypes .NewMerklePath (host .FullClientStatePath (connection .Counterparty .ClientId ))
39
- merklePath , err = commitmenttypes .ApplyPrefix (connection .Counterparty .GetPrefix () , merklePath )
39
+ merklePath , err = commitmenttypes .ApplyPrefix (connection .Counterparty .Prefix , merklePath )
40
40
if err != nil {
41
41
return err
42
42
}
@@ -78,7 +78,7 @@ func (k Keeper) VerifyClientConsensusState(
78
78
}
79
79
80
80
merklePath := commitmenttypes .NewMerklePath (host .FullConsensusStatePath (connection .Counterparty .ClientId , consensusHeight ))
81
- merklePath , err = commitmenttypes .ApplyPrefix (connection .Counterparty .GetPrefix () , merklePath )
81
+ merklePath , err = commitmenttypes .ApplyPrefix (connection .Counterparty .Prefix , merklePath )
82
82
if err != nil {
83
83
return err
84
84
}
@@ -120,7 +120,7 @@ func (k Keeper) VerifyConnectionState(
120
120
}
121
121
122
122
merklePath := commitmenttypes .NewMerklePath (host .ConnectionPath (connectionID ))
123
- merklePath , err = commitmenttypes .ApplyPrefix (connection .Counterparty .GetPrefix () , merklePath )
123
+ merklePath , err = commitmenttypes .ApplyPrefix (connection .Counterparty .Prefix , merklePath )
124
124
if err != nil {
125
125
return err
126
126
}
@@ -163,7 +163,7 @@ func (k Keeper) VerifyChannelState(
163
163
}
164
164
165
165
merklePath := commitmenttypes .NewMerklePath (host .ChannelPath (portID , channelID ))
166
- merklePath , err = commitmenttypes .ApplyPrefix (connection .Counterparty .GetPrefix () , merklePath )
166
+ merklePath , err = commitmenttypes .ApplyPrefix (connection .Counterparty .Prefix , merklePath )
167
167
if err != nil {
168
168
return err
169
169
}
@@ -211,7 +211,7 @@ func (k Keeper) VerifyPacketCommitment(
211
211
blockDelay := k .getBlockDelay (ctx , connection )
212
212
213
213
merklePath := commitmenttypes .NewMerklePath (host .PacketCommitmentPath (portID , channelID , sequence ))
214
- merklePath , err = commitmenttypes .ApplyPrefix (connection .Counterparty .GetPrefix () , merklePath )
214
+ merklePath , err = commitmenttypes .ApplyPrefix (connection .Counterparty .Prefix , merklePath )
215
215
if err != nil {
216
216
return err
217
217
}
@@ -254,7 +254,7 @@ func (k Keeper) VerifyPacketAcknowledgement(
254
254
blockDelay := k .getBlockDelay (ctx , connection )
255
255
256
256
merklePath := commitmenttypes .NewMerklePath (host .PacketAcknowledgementPath (portID , channelID , sequence ))
257
- merklePath , err = commitmenttypes .ApplyPrefix (connection .Counterparty .GetPrefix () , merklePath )
257
+ merklePath , err = commitmenttypes .ApplyPrefix (connection .Counterparty .Prefix , merklePath )
258
258
if err != nil {
259
259
return err
260
260
}
@@ -297,7 +297,7 @@ func (k Keeper) VerifyPacketReceiptAbsence(
297
297
blockDelay := k .getBlockDelay (ctx , connection )
298
298
299
299
merklePath := commitmenttypes .NewMerklePath (host .PacketReceiptPath (portID , channelID , sequence ))
300
- merklePath , err = commitmenttypes .ApplyPrefix (connection .Counterparty .GetPrefix () , merklePath )
300
+ merklePath , err = commitmenttypes .ApplyPrefix (connection .Counterparty .Prefix , merklePath )
301
301
if err != nil {
302
302
return err
303
303
}
@@ -339,7 +339,7 @@ func (k Keeper) VerifyNextSequenceRecv(
339
339
blockDelay := k .getBlockDelay (ctx , connection )
340
340
341
341
merklePath := commitmenttypes .NewMerklePath (host .NextSequenceRecvPath (portID , channelID ))
342
- merklePath , err = commitmenttypes .ApplyPrefix (connection .Counterparty .GetPrefix () , merklePath )
342
+ merklePath , err = commitmenttypes .ApplyPrefix (connection .Counterparty .Prefix , merklePath )
343
343
if err != nil {
344
344
return err
345
345
}
@@ -376,7 +376,7 @@ func (k Keeper) VerifyChannelUpgradeError(
376
376
}
377
377
378
378
merklePath := commitmenttypes .NewMerklePath (host .ChannelUpgradeErrorPath (portID , channelID ))
379
- merklePath , err = commitmenttypes .ApplyPrefix (connection .Counterparty .GetPrefix () , merklePath )
379
+ merklePath , err = commitmenttypes .ApplyPrefix (connection .Counterparty .Prefix , merklePath )
380
380
if err != nil {
381
381
return err
382
382
}
@@ -418,7 +418,7 @@ func (k Keeper) VerifyChannelUpgrade(
418
418
}
419
419
420
420
merklePath := commitmenttypes .NewMerklePath (host .ChannelUpgradePath (portID , channelID ))
421
- merklePath , err = commitmenttypes .ApplyPrefix (connection .Counterparty .GetPrefix () , merklePath )
421
+ merklePath , err = commitmenttypes .ApplyPrefix (connection .Counterparty .Prefix , merklePath )
422
422
if err != nil {
423
423
return err
424
424
}
0 commit comments