packages feed

haskoin-store 0.18.6 → 0.18.7

raw patch · 3 files changed

+8/−4 lines, 3 files

Files

CHANGELOG.md view
@@ -4,6 +4,10 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). +## 0.18.7+### Fixed+- Missing tranasctions on xpub listings.+ ## 0.18.6 ### Removed - Follow Stack advise removing `-O2` GHC option.
haskoin-store.cabal view
@@ -4,10 +4,10 @@ -- -- see: https://github.com/sol/hpack ----- hash: c3af87052093a111e194094e0f6eff46423b80b4faaf280b24ce623b56c19445+-- hash: 484fc09cd43cad3fa46c71963e8d58bce072ca2aefb5f8c5fcabadb1b93c791b  name:           haskoin-store-version:        0.18.6+version:        0.18.7 synopsis:       Storage and index for Bitcoin and Bitcoin Cash description:    Store blocks, transactions, and balances for Bitcoin or Bitcoin Cash, and make that information via REST API. category:       Bitcoin, Finance, Network
src/Network/Haskoin/Store/Web.hs view
@@ -1083,10 +1083,10 @@  insertNubInSortedBy :: (a -> a -> Ordering) -> a -> Vector a -> Vector a insertNubInSortedBy f x xs-    | null xs = xs+    | null xs = x `cons` xs     | otherwise =         case find_idx 0 (length xs - 1) of-            Nothing -> xs+            Nothing -> x `cons` xs             Just i ->                 let (xs1, xs2) = V.splitAt i xs                  in xs1 <> x `cons` xs2