tUpdate history table unpack for v4. - obelisk - Electrum server using libbitcoin as its backend HTML git clone https://git.parazyd.org/obelisk DIR Log DIR Files DIR Refs DIR README DIR LICENSE --- DIR commit 9687a637842164907ab4f9399df4fef69b61e0f3 DIR parent 176e3362ff4e9d62d07284082977d5eab4fa718c HTML Author: parazyd <parazyd@dyne.org> Date: Thu, 8 Apr 2021 23:39:27 +0200 Update history table unpack for v4. Diffstat: M electrumobelisk/zeromq.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- DIR diff --git a/electrumobelisk/zeromq.py b/electrumobelisk/zeromq.py t@@ -352,7 +352,7 @@ class Client: return error_code, None def make_tuple(row): - kind, tx_hash, index, height, value = row + kind, height, tx_hash, index, value = row return ( kind, COutPoint(tx_hash, index), t@@ -361,7 +361,7 @@ class Client: checksum(tx_hash[::-1].hex(), index), ) - rows = unpack_table("<B32sIIQ", raw_points) + rows = unpack_table("<BI32sIQ", raw_points) points = [make_tuple(row) for row in rows] correlated_points = Client.__correlate(points) return error_code, correlated_points