Skip to content

pin update $cid $cid yields no error when $cid is not pinned #7745

Open
@Kycklingar

Description

@Kycklingar

Version information:

go-ipfs version: 0.7.0-ea77213e3
Repo version: 10
System version: amd64/linux
Golang version: go1.15.2

Description:

ipfs pin update $cidA $cidA
gives no error and even states the update was successful even though $cidA is not pinned.
As opposed to
ipfs pin update $cidA $cidB
where you get the error 'from' cid was not recursively pinned already

Relevant issue #6648

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugA bug in existing code (including security flaws)status/readyReady to be worked

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions