From 913741972a0b8553030551bf1fd8e3febb0e1f54 Mon Sep 17 00:00:00 2001 From: st4lk Date: Thu, 19 Dec 2013 11:51:46 +0400 Subject: [PATCH] fix variable reference: undefined name was used --- node.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/node.py b/node.py index 1c14c2f..dc160d3 100755 --- a/node.py +++ b/node.py @@ -139,9 +139,9 @@ def ser_uint256_vector(l): r = "" if len(l) < 253: r = chr(len(l)) - elif len(s) < 0x10000: + elif len(l) < 0x10000: r = chr(253) + struct.pack("