pull/1686/head
flicker-harmony 5 years ago
parent b1e5b91cfe
commit 63a7f5af5b
  1. 1
      internal/hmyapi/transactionpool.go
  2. 2
      internal/hmyapi/types.go

@ -13,7 +13,6 @@ import (
"github.com/harmony-one/harmony/core/rawdb"
"github.com/harmony-one/harmony/core/types"
internal_common "github.com/harmony-one/harmony/internal/common"
"github.com/harmony-one/harmony/internal/utils"
)
// TxHistoryArgs is struct to make GetTransactionsHistory request

@ -11,7 +11,6 @@ import (
"github.com/harmony-one/harmony/block"
"github.com/harmony-one/harmony/core/types"
internal_common "github.com/harmony-one/harmony/internal/common"
"github.com/harmony-one/harmony/internal/utils"
)
// RPCTransaction represents a transaction that will serialize to the RPC representation of a transaction
@ -153,7 +152,6 @@ func newRPCTransaction(tx *types.Transaction, blockHash common.Hash, blockNumber
}
toAddr := ""
utils.Logger().Info().Msgf("LOLOLO %s", fromAddr)
if tx.To() != nil {
if toAddr, err = internal_common.AddressToBech32(*tx.To()); err != nil {
return nil

Loading…
Cancel
Save