Comparing version 12.2.6 to 12.2.7
@@ -41,3 +41,3 @@ "use strict"; | ||
let r = this.readBigNumberOpt(); | ||
if (r) { | ||
if (r !== null) { | ||
return r.toNumber(); | ||
@@ -55,3 +55,3 @@ } | ||
let res = this.readNumberOpt(); | ||
if (res) { | ||
if (res !== null) { | ||
return res === 0 ? false : true; | ||
@@ -65,3 +65,3 @@ } | ||
let r = this.readCell().beginParse().readAddress(); | ||
if (r) { | ||
if (r !== null) { | ||
return r; | ||
@@ -75,3 +75,3 @@ } | ||
let r = this.readCellOpt(); | ||
if (r) { | ||
if (r !== null) { | ||
return r.beginParse().readAddress(); | ||
@@ -78,0 +78,0 @@ } |
{ | ||
"name": "ton", | ||
"version": "12.2.6", | ||
"version": "12.2.7", | ||
"repository": "https://github.com/tonwhales/ton.git", | ||
@@ -5,0 +5,0 @@ "author": "Steve Korshakov <steve@korshakov.com>", |
457737