From c151197ad483cdcb9db1efb5ee405cbb73666d38 Mon Sep 17 00:00:00 2001 From: Marc Puig Date: Thu, 19 Oct 2023 09:22:09 +0200 Subject: [PATCH] fix: Query that retrieves timed out LSM deposit transfers (#665) * fix query to retrieve timed out lsm deposits from sequence id * changelog --- CHANGELOG.md | 2 ++ x/liquidstakeibc/keeper/hooks.go | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6c7804ce3..6802fe82f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -36,6 +36,8 @@ Ref: https://keepachangelog.com/en/1.0.0/ ## [Unreleased] +- [#665](https://github.com/persistenceOne/pstake-native/pull/665) Register MsgLiquidStakeLSM into amino codec. + ## [v2.4.0] - 2023-09-13 ### Bug Fixes diff --git a/x/liquidstakeibc/keeper/hooks.go b/x/liquidstakeibc/keeper/hooks.go index 4420f5ec9..85f9ec445 100644 --- a/x/liquidstakeibc/keeper/hooks.go +++ b/x/liquidstakeibc/keeper/hooks.go @@ -389,7 +389,7 @@ func (k *Keeper) OnTimeoutIBCTransferPacket( // revert the state of the LSM deposits that timed out k.RevertLSMDepositsState( ctx, - k.GetLSMDepositsFromIbcDenom(ctx, k.GetTransactionSequenceID(packet.SourceChannel, packet.Sequence)), + k.GetLSMDepositsFromIbcSequenceID(ctx, k.GetTransactionSequenceID(packet.SourceChannel, packet.Sequence)), ) }