aboutsummaryrefslogtreecommitdiffstats
path: root/rpc/api/parsing.go
diff options
context:
space:
mode:
Diffstat (limited to 'rpc/api/parsing.go')
-rw-r--r--rpc/api/parsing.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpc/api/parsing.go b/rpc/api/parsing.go
index 7667616ff..21ece355e 100644
--- a/rpc/api/parsing.go
+++ b/rpc/api/parsing.go
@@ -349,7 +349,7 @@ func NewTransactionRes(tx *types.Transaction) *TransactionRes {
// v.BlockHash =
// v.BlockNumber =
// v.TxIndex =
- from, _ := tx.From()
+ from, _ := tx.FromFrontier()
v.From = newHexData(from)
v.To = newHexData(tx.To())
v.Value = newHexNum(tx.Value())