From f7ffddac18e7c97d2c23b164370e4be26088e898 Mon Sep 17 00:00:00 2001 From: Treeki Date: Mon, 29 Apr 2013 22:47:13 +0200 Subject: fix stupid star coin encoding bug --- src/unlock.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/unlock.py b/src/unlock.py index f87e5b1..1638904 100644 --- a/src/unlock.py +++ b/src/unlock.py @@ -141,7 +141,7 @@ def packUnlockSpec(data): elif kind == 'star_coins': k, op, count, mode = data ops = ('==', '!=', '<', '>') - one = (4 << 6) | ops.index(op) + one = (0 << 6) | ops.index(op) if mode == 'unspent': modeID = 0x80 else: -- cgit v1.2.3