API to list accounts

This commit is contained in:
Jae Kwon
2015-01-11 14:27:46 -08:00
parent fe566739fd
commit 7afb75049f
8 changed files with 45 additions and 20 deletions

View File

@@ -36,7 +36,7 @@ func TestCopyState(t *testing.T) {
}
// Setting, however, should change the balance.
s0.SetAccount(acc)
s0.UpdateAccount(acc)
if s0.GetAccount(acc0Address).Balance != acc.Balance {
t.Error("Account balance wasn't set")
}