Merge branch 'filecoin-project:master' into master

This commit is contained in:
kaola526
2022-06-21 17:20:56 +08:00
committed by GitHub
121 changed files with 1811 additions and 2043 deletions
+4
View File
@@ -557,6 +557,10 @@ func interactiveDeal(cctx *cli.Context) error {
a = def
}
if _, err := api.StateGetActor(ctx, a, types.EmptyTSK); err != nil {
return xerrors.Errorf("address not initialized on chain: %w", err)
}
fromBal, err := api.WalletBalance(ctx, a)
if err != nil {
return xerrors.Errorf("checking from address balance: %w", err)