display int/uint length

pull/7/head
yann300 8 years ago
parent ee6657f05c
commit 557527d29b
  1. 2
      src/solidity/types/Int.js
  2. 2
      src/solidity/types/Uint.js

@ -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) {

Loading…
Cancel
Save