missed return value

This commit is contained in:
shannonwells 2020-04-17 13:59:29 -07:00
parent fd7f4ef080
commit 3ca71e146c

View File

@ -74,6 +74,8 @@ func (pm *Manager) waitForPaychCreateMsg(ctx context.Context, mcid cid.Cid) (add
if err := pm.store.trackChannel(ci); err != nil { if err := pm.store.trackChannel(ci); err != nil {
return address.Undef, xerrors.Errorf("tracking channel: %w", err) return address.Undef, xerrors.Errorf("tracking channel: %w", err)
} }
return paychaddr, nil
} }
func (pm *Manager) addFunds(ctx context.Context, ch address.Address, from address.Address, amt types.BigInt) (cid.Cid, error) { func (pm *Manager) addFunds(ctx context.Context, ch address.Address, from address.Address, amt types.BigInt) (cid.Cid, error) {