mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 02:12:23 +00:00
typo
This commit is contained in:
parent
abdeb11c3c
commit
a934a911d8
1 changed files with 0 additions and 3 deletions
|
|
@ -13,7 +13,6 @@ import (
|
||||||
|
|
||||||
_ "github.com/lib/pq"
|
_ "github.com/lib/pq"
|
||||||
Rewards "github.com/ethereum/go-ethereum/consensus/ethash"
|
Rewards "github.com/ethereum/go-ethereum/consensus/ethash"
|
||||||
"reflect"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
//SBlock type
|
//SBlock type
|
||||||
|
|
@ -995,7 +994,6 @@ func GetAllAccounts(sqldb *sql.DB) string {
|
||||||
|
|
||||||
//GetAccount returns account balances
|
//GetAccount returns account balances
|
||||||
func GetAccountTxs(sqldb *sql.DB, address string) string {
|
func GetAccountTxs(sqldb *sql.DB, address string) string {
|
||||||
fmt.Println(address)
|
|
||||||
var arr txRes
|
var arr txRes
|
||||||
var txx string
|
var txx string
|
||||||
sqlStatement := `SELECT * FROM txs WHERE to_addr=$1 OR from_addr=$1;`
|
sqlStatement := `SELECT * FROM txs WHERE to_addr=$1 OR from_addr=$1;`
|
||||||
|
|
@ -1037,7 +1035,6 @@ func GetAccountTxs(sqldb *sql.DB, address string) string {
|
||||||
&age,
|
&age,
|
||||||
&data,
|
&data,
|
||||||
)
|
)
|
||||||
fmt.Println(reflect.TypeOf(amount))
|
|
||||||
|
|
||||||
arr.TxEntry = append(arr.TxEntry, ShyftTxEntryPretty{
|
arr.TxEntry = append(arr.TxEntry, ShyftTxEntryPretty{
|
||||||
TxHash: txhash,
|
TxHash: txhash,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue