[RPC] add input on newRPCTransaction (#3140)

pull/3179/head
Yishuang Chen 5 years ago committed by Leo Chen
parent 04bc3f95fb
commit 7ac881f42f
  1. 1
      internal/hmyapi/apiv1/types.go

@ -172,6 +172,7 @@ func newRPCTransaction(
Gas: hexutil.Uint64(tx.Gas()),
GasPrice: (*hexutil.Big)(tx.GasPrice()),
Hash: tx.Hash(),
Input: hexutil.Bytes(tx.Data()),
Nonce: hexutil.Uint64(tx.Nonce()),
Value: (*hexutil.Big)(tx.Value()),
ShardID: tx.ShardID(),

Loading…
Cancel
Save