resolve review note

This commit is contained in:
whyrusleeping
2019-09-19 23:47:09 -07:00
parent 49c677fb6e
commit b3a0ec9155
-1
View File
@@ -231,7 +231,6 @@ func (vmctx *VMContext) GetBalance(a address.Address) (types.BigInt, aerrors.Act
default:
return types.EmptyInt, aerrors.Escalate(err, "failed to look up actor balance")
case hamt.ErrNotFound:
// REVIEW: should we just say 'account doesnt exist' == '0 balance'?
return types.NewInt(0), nil
case nil:
return act.Balance, nil