good morning!!!!

Skip to content
Snippets Groups Projects
Commit abff6b26 authored by Evgeny Danienko's avatar Evgeny Danienko
Browse files

add check

parent 0e2a533a
Branches
Tags
No related merge requests found
......@@ -76,6 +76,9 @@ func TestInsertIncorrectStateRootDifferentAccounts(t *testing.T) {
if balance := st.GetBalance(from); balance.Cmp(big.NewInt(1000000000)) != 0 {
t.Fatalf("got %v, expected %v", balance, big.NewInt(1000000000))
}
if balance := st.GetBalance(data.addresses[1]); balance.Cmp(big.NewInt(999995000)) != 0 {
t.Fatalf("got %v, expected %v", balance, big.NewInt(5000))
}
if balance := st.GetBalance(to); balance.Cmp(big.NewInt(5000)) != 0 {
t.Fatalf("got %v, expected %v", balance, big.NewInt(5000))
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment