remove 'dynamic' from type name

pull/7/head
yann300 8 years ago
parent ffc2c63493
commit 17fb723666
  1. 3
      src/solidity/types/ArrayType.js

@ -17,7 +17,8 @@ class ArrayType extends RefType {
storageSlots = arraySize * underlyingType.storageSlots storageSlots = arraySize * underlyingType.storageSlots
} }
} }
super(storageSlots, 32, underlyingType.typeName + '[' + arraySize + ']', location) var size = arraySize !== 'dynamic' ? arraySize : ''
super(storageSlots, 32, underlyingType.typeName + '[' + size + ']', location)
this.underlyingType = underlyingType this.underlyingType = underlyingType
this.arraySize = arraySize this.arraySize = arraySize
} }

Loading…
Cancel
Save