gas to data

This commit is contained in:
sc0Vu 2018-01-12 12:16:17 +08:00
parent 6afc41f65a
commit 2cbb1fe860

View File

@ -37,7 +37,7 @@ class TransactionFormatter implements IFormatter
$value['value'] = QuantityFormatter::format($value['value']);
}
if (isset($value['data'])) {
$value['data'] = HexFormatter::format($value['gas']);
$value['data'] = HexFormatter::format($value['data']);
}
if (isset($value['nonce'])) {
$value['nonce'] = QuantityFormatter::format($value['nonce']);