Commit 557527d2 authored by yann300's avatar yann300

display int/uint length

parent ee6657f0
......@@ -4,7 +4,7 @@ var ValueType = require('./ValueType')
class Int extends ValueType {
constructor (storageBytes) {
super(1, storageBytes, 'int')
super(1, storageBytes, 'int' + storageBytes * 8)
}
decodeValue (value) {
......
......@@ -4,7 +4,7 @@ var ValueType = require('./ValueType')
class Uint extends ValueType {
constructor (storageBytes) {
super(1, storageBytes, 'uint')
super(1, storageBytes, 'uint' + storageBytes * 8)
}
decodeValue (value) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment