diff --git a/nselib/bitcoin.lua b/nselib/bitcoin.lua index b656926bd..e22589fa4 100644 --- a/nselib/bitcoin.lua +++ b/nselib/bitcoin.lua @@ -299,12 +299,14 @@ Response = { -- Parses the raw data and builds the Version instance parse = function(self) - local ra, sa, cmd, nodeid + local ra, sa, cmd, nodeid, pos -- After 2012-02-20, version messages contain checksums self.magic, cmd, self.len, self.checksum, self.ver_raw, self.service, self.timestamp, ra, sa, nodeid, - self.subver, self.lastblock = string.unpack("