[fix] missing cofx for ipfs/cat call in contenthash/cat

Signed-off-by: yenda <eric@status.im>
This commit is contained in:
yenda 2019-04-03 17:15:24 +02:00
parent 25c24bf716
commit 06f72e749e
No known key found for this signature in database
GPG Key ID: 0095623C0069DCE6
1 changed files with 2 additions and 1 deletions

View File

@ -29,6 +29,7 @@
[cofx {:keys [contenthash on-success on-failure]}]
(let [{:keys [namespace hash]} (decode contenthash)]
(when (= namespace :ipfs)
(ipfs/cat {:hash hash
(ipfs/cat cofx
{:hash hash
:on-success on-success
:on-failure on-failure}))))