mirror of
https://github.com/status-im/status-react.git
synced 2025-01-26 19:01:17 +00:00
[fix] missing cofx for ipfs/cat call in contenthash/cat
Signed-off-by: yenda <eric@status.im>
This commit is contained in:
parent
25c24bf716
commit
06f72e749e
@ -29,6 +29,7 @@
|
|||||||
[cofx {:keys [contenthash on-success on-failure]}]
|
[cofx {:keys [contenthash on-success on-failure]}]
|
||||||
(let [{:keys [namespace hash]} (decode contenthash)]
|
(let [{:keys [namespace hash]} (decode contenthash)]
|
||||||
(when (= namespace :ipfs)
|
(when (= namespace :ipfs)
|
||||||
(ipfs/cat {:hash hash
|
(ipfs/cat cofx
|
||||||
|
{:hash hash
|
||||||
:on-success on-success
|
:on-success on-success
|
||||||
:on-failure on-failure}))))
|
:on-failure on-failure}))))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user