AddressType

This commit is contained in:
sc0Vu 2018-01-02 11:54:23 +08:00
parent 744e675092
commit 36ba7a7573

View File

@ -66,14 +66,11 @@ class Address extends SolidityType implements IType
$value = mb_strtolower($value);
if (Utils::isZeroPrefixed($value)) {
// return '000000000000000000000000' . Utils::stripZero($value);
$value = Utils::stripZero($value);
}
// return '000000000000000000000000' . $value;
}
$value = IntegerFormatter::format($value);
return $value;
// throw new InvalidArgumentException('The value to inputFormat must be string.');
}
}