1
0
Fork 0
mirror of https://github.com/ton-blockchain/ton synced 2025-03-09 15:40:10 +00:00

Fix printing TLB NatWidth

This commit is contained in:
SpyCheese 2025-01-27 12:40:43 +03:00
parent ed88f55a3d
commit e04a6fbfbf

View file

@ -45,7 +45,7 @@ bool Bool::print_skip(PrettyPrinter& pp, vm::CellSlice& cs) const {
}
bool NatWidth::print_skip(PrettyPrinter& pp, vm::CellSlice& cs) const {
long long value = (long long)cs.fetch_ulong(32);
long long value = (long long)cs.fetch_ulong(n);
return value >= 0 && pp.out_int(value);
}