From ab18a4680360c80e8840f84ae09ca5d34b6a1ff1 Mon Sep 17 00:00:00 2001 From: olalonde Date: Tue, 8 Apr 2014 23:37:35 +0800 Subject: [PATCH] Connection: Replaced 0000... with util.NULL_HASH --- Connection.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Connection.js b/Connection.js index 311cce6..319a723 100644 --- a/Connection.js +++ b/Connection.js @@ -187,7 +187,7 @@ Connection.prototype.sendVersion = function () { Connection.prototype.sendGetBlocks = function (starts, stop, wantHeaders) { // Default value for stop is 0 to get as many blocks as possible (500) - stop = stop || '00000000000000000000000000000000'; + stop = stop || util.NULL_HASH; var put = new Put();