summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTreeki <treeki@gmail.com>2013-04-29 22:47:13 +0200
committerTreeki <treeki@gmail.com>2013-04-29 22:47:13 +0200
commitf7ffddac18e7c97d2c23b164370e4be26088e898 (patch)
tree917f3125213667b7743b1bfd040e683da8027397
parent6a038d8967cc0b189a22550d27b68b2da6477287 (diff)
downloadkoopatlas-f7ffddac18e7c97d2c23b164370e4be26088e898.tar.gz
koopatlas-f7ffddac18e7c97d2c23b164370e4be26088e898.zip
fix stupid star coin encoding bug
Diffstat (limited to '')
-rw-r--r--src/unlock.py2
1 files changed, 1 insertions, 1 deletions
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: