Fixed getBalance: RoundViewModel.get() returns null on index=0, thus NPE was thrown when references were not passed and the first round hadn't been completed. In our implementation the snapshot is already constructed based on relative confirmations, thus it suffices for getBalances to respond with balance according to latestSnapshot.
getBalance
:RoundViewModel.get()
returnsnull
onindex
=0, thus NPE was thrown whenreferences
were not passed and the first round hadn't been completed. In our implementation the snapshot is already constructed based on relative confirmations, thus it suffices forgetBalances
to respond with balance according tolatestSnapshot
.updateDiff()
, updated todos, comments, fixed logs, renaming.