diff --git a/paychmgr/paych.go b/paychmgr/paych.go index 597663a94..763c448f9 100644 --- a/paychmgr/paych.go +++ b/paychmgr/paych.go @@ -76,7 +76,7 @@ func (pm *Manager) TrackInboundChannel(ctx context.Context, ch address.Address) return err } from := account.Address - _, err = pm.sm.LoadActorState(ctx, st.From, &account, nil) + _, err = pm.sm.LoadActorState(ctx, st.To, &account, nil) if err != nil { return err } @@ -114,7 +114,7 @@ func (pm *Manager) loadOutboundChannelInfo(ctx context.Context, ch address.Addre return nil, err } from := account.Address - _, err = pm.sm.LoadActorState(ctx, st.From, &account, nil) + _, err = pm.sm.LoadActorState(ctx, st.To, &account, nil) if err != nil { return nil, err }