mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 02:12:23 +00:00
need to pop stash
This commit is contained in:
parent
42183a4580
commit
afdefa3690
1 changed files with 11 additions and 2 deletions
|
|
@ -471,9 +471,18 @@ t.Run("TestAccountsToReturnAccounts",func(t *testing.T) {
|
||||||
if toAddr1.String() != tx1.To().String() {
|
if toAddr1.String() != tx1.To().String() {
|
||||||
t.Fatalf("To address [%v]: To address not found", toAddr1.String())
|
t.Fatalf("To address [%v]: To address not found", toAddr1.String())
|
||||||
}
|
}
|
||||||
accountAddrTo := core.SGetAccount(sqldb, toAddr1.String())
|
accountAddrTo, _ := core.InnerSGetAccount(sqldb, toAddr1.String())
|
||||||
|
//ewAccountNonceReceiver.Add(accountR, nonceIncrement)
|
||||||
|
addedAmount := new(big.Int)
|
||||||
|
b := new(big.Int).SetUint64(toAmountPrev1)
|
||||||
|
addedAmount.Add(toAmount1, b)
|
||||||
|
toBalance := new(big.Int)
|
||||||
|
toBalance, l := toBalance.SetString(accountAddrTo.Balance, 10)
|
||||||
|
fmt.Println(l)
|
||||||
|
|
||||||
|
if toBalance.Cmp(addedAmount) != 0 {
|
||||||
|
t.Fatalf("To address balance [%v]: To address balance not correct FFO", toBalance)
|
||||||
|
}
|
||||||
|
|
||||||
//for _, tx := range txs {
|
//for _, tx := range txs {
|
||||||
// accountAddrTo := core.SGetAccount(sqldb, tx.To().String())
|
// accountAddrTo := core.SGetAccount(sqldb, tx.To().String())
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue