Skip to content

Commit ab2a301

Browse files
authored
fix(miner): ensure sender account exists (#13348)
1 parent 08b62be commit ab2a301

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/lotus-shed/miner.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ var minerCreateCmd = &cli.Command{
273273
}
274274

275275
// make sure the sender account exists on chain
276-
_, err = wapi.StateLookupID(ctx, owner, types.EmptyTSK)
276+
_, err = wapi.StateLookupID(ctx, sender, types.EmptyTSK)
277277
if err != nil {
278278
return xerrors.Errorf("sender must exist on chain: %w", err)
279279
}

0 commit comments

Comments
 (0)