obelisk

Electrum server using libbitcoin as its backend
git clone https://git.parazyd.org/obelisk
Log | Files | Refs | README | LICENSE

commit 9687a637842164907ab4f9399df4fef69b61e0f3
parent 176e3362ff4e9d62d07284082977d5eab4fa718c
Author: parazyd <parazyd@dyne.org>
Date:   Thu,  8 Apr 2021 23:39:27 +0200

Update history table unpack for v4.

Diffstat:
Melectrumobelisk/zeromq.py | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/electrumobelisk/zeromq.py b/electrumobelisk/zeromq.py @@ -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), @@ -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