mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 18:32:23 +00:00
swarm/api/client: address pr comments
This commit is contained in:
parent
aef8672b63
commit
07b10926f5
1 changed files with 1 additions and 1 deletions
|
|
@ -481,7 +481,7 @@ type UploadFn func(file *File) error
|
||||||
// TarUpload uses the given Uploader to upload files to swarm as a tar stream,
|
// TarUpload uses the given Uploader to upload files to swarm as a tar stream,
|
||||||
// returning the resulting manifest hash
|
// returning the resulting manifest hash
|
||||||
func (c *Client) TarUpload(hash string, uploader Uploader, defaultPath string, toEncrypt bool) (string, error) {
|
func (c *Client) TarUpload(hash string, uploader Uploader, defaultPath string, toEncrypt bool) (string, error) {
|
||||||
ctx, sp := spancontext.StartSpan(context.Background(), "swarm.api.client.tarupload")
|
ctx, sp := spancontext.StartSpan(context.Background(), "api.client.tarupload")
|
||||||
defer sp.Finish()
|
defer sp.Finish()
|
||||||
|
|
||||||
var tn time.Time
|
var tn time.Time
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue