Merge pull request #3214 from filecoin-project/fix/genesis-remainder

Actually set genesis remainder account balance
This commit is contained in:
Aayush Rajasekaran 2020-08-21 15:07:14 -04:00 committed by GitHub
commit aabb90293d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -297,6 +297,8 @@ func MakeInitialStateTree(ctx context.Context, bs bstore.Blockstore, template ge
return nil, nil, err
}
template.RemainderAccount.Balance = remainingFil
if err := createMultisigAccount(ctx, bs, cst, state, remAccKey, template.RemainderAccount, keyIDs); err != nil {
return nil, nil, xerrors.Errorf("failed to set up remainder account: %w", err)
}