From e8c7a690a15763e657fc96d12c2210d92acfa413 Mon Sep 17 00:00:00 2001 From: wwestgarth Date: Tue, 31 Oct 2023 12:23:08 +0000 Subject: [PATCH] chore: update difftool to read from new LP V2 snapshot payload --- difftool/diff/core_snapshot.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/difftool/diff/core_snapshot.go b/difftool/diff/core_snapshot.go index 36f0f67..6112a60 100644 --- a/difftool/diff/core_snapshot.go +++ b/difftool/diff/core_snapshot.go @@ -107,6 +107,8 @@ func (s *snap) getLps() []*vega.LiquidityProvision { switch c.Data.(type) { case *snapshot.Payload_LiquidityProvisions: lps = append(lps, c.GetLiquidityProvisions().LiquidityProvisions...) + case *snapshot.Payload_LiquidityV2Provisions: + lps = append(lps, c.GetLiquidityV2Provisions().LiquidityProvisions...) default: continue }