1
0
Fork 0
mirror of https://github.com/ton-blockchain/ton synced 2025-02-12 11:12:16 +00:00

Fix printing TLB NatWidth (#1501)

This commit is contained in:
SpyCheese 2025-01-27 09:55:00 +00:00 committed by GitHub
parent 2a02b54786
commit 8ffa3dd9dc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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);
}