From 7bd7d9083ae95503cabf53aa8e71dfdcc155bed7 Mon Sep 17 00:00:00 2001
From: Jens Nolte <jens@nightmarestudio.de>
Date: Sat, 29 Feb 2020 15:57:25 +0100
Subject: [PATCH] Use cachePushBlock instead of toCachedBlock

---
 src/QBar/Core.hs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/QBar/Core.hs b/src/QBar/Core.hs
index c87a697..49b01a3 100644
--- a/src/QBar/Core.hs
+++ b/src/QBar/Core.hs
@@ -64,7 +64,7 @@ class IsCachable a where
 instance IsCachable PushBlock where
   toCachedBlock = cachePushBlock
 instance IsCachable PullBlock where
-  toCachedBlock = toCachedBlock . schedulePullBlock
+  toCachedBlock = cachePushBlock . schedulePullBlock
 instance IsCachable BlockCache where
   toCachedBlock = id
 
-- 
GitLab