This commit is contained in:
Łukasz Magiera 2021-02-01 14:22:32 +01:00
parent d4da53dda8
commit b2eb014900

View File

@ -21,7 +21,7 @@ import (
)
type IpfsBstore struct {
ctx context.Context
ctx context.Context
api, offlineAPI iface.CoreAPI
}
@ -43,8 +43,8 @@ func NewIpfsBstore(ctx context.Context, onlineMode bool) (*IpfsBstore, error) {
}
return &IpfsBstore{
ctx: ctx,
api: api,
ctx: ctx,
api: api,
offlineAPI: offlineAPI,
}, nil
}
@ -67,8 +67,8 @@ func NewRemoteIpfsBstore(ctx context.Context, maddr multiaddr.Multiaddr, onlineM
}
return &IpfsBstore{
ctx: ctx,
api: api,
ctx: ctx,
api: api,
offlineAPI: offlineAPI,
}, nil
}