resolve review note
This commit is contained in:
parent
49c677fb6e
commit
b3a0ec9155
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user