Actually set genesis remainder account balance

This commit is contained in:
whyrusleeping 2020-08-20 18:11:34 -07:00
parent 659babc6b3
commit 4bf7619d32

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)
}