I got 3dhdwallpapers.eth name and set content resolve to a swarm hash 4197442eceb1c1d4a0c7af21e17cb48e990a07ba2d6f72d7e9c09efd172279cc
and I run command
publicResolver.setContent(namehash('3dhdwallpapers.eth'), '0x4197442eceb1c1d4a0c7af21e17cb48e990a07ba2d6f72d7e9c09efd172279cc', {from: eth.accounts[0], gas: 100000});
Now txn fine in etherscan https://etherscan.io/tx/0x50f225487cc5cd1d34ecbf07eba83f64af8604d12b7c9db4914ed016ef10bcdb
when I check http://swarm-gateways.net/bzz:/3dhdwallpapers.eth/ getting error- error resolving 3dhdwallpapers.eth: '3dhdwallpapers.eth' is not a content hash
Why 0x4197442eceb1c1d4a0c7af21e17cb48e990a07ba2d6f72d7e9c09efd172279cc is not a content has when I can see hash data in http://swarm-gateways.net/bzz:/4197442eceb1c1d4a0c7af21e17cb48e990a07ba2d6f72d7e9c09efd172279cc/ ?
but getContent('3dhdwallpapers.eth') giving "0x4197442eceb1c1d4a0c7af21e17cb48e990a07ba2d6f72d7e9c09efd172279cc"
Is that 0x giving problem? But as per http://swarm-guide.readthedocs.io/en/latest/usage.html I need to add 0x with hash. Please help.
--------------------- updated-----------------------
Okay if swam gateway running test node. I run swarm in my main net
and new has is 9af7f4a3d9548f37b0c6e391fa8b1e23a6895e31d2eecc60c88dfd67a8c3eef4
it open as http://80.241.221.232:8500/bzz:/9af7f4a3d9548f37b0c6e391fa8b1e23a6895e31d2eecc60c88dfd67a8c3eef4/
File and I resolve content hash using publicResolver.setContent(namehash('3dhdwallpapers.eth'), '0x9af7f4a3d9548f37b0c6e391fa8b1e23a6895e31d2eecc60c88dfd67a8c3eef4', {from: eth.accounts[0], gas: 100000})
txn pass through- https://etherscan.io/tx/0xac2f357f5d5a78ceaec407da4fe51db33f31ec21c62d35d938c9e4c193c40c90
and getContent('3dhdwallpapers.eth') gives correct hash "0x9af7f4a3d9548f37b0c6e391fa8b1e23a6895e31d2eecc60c88dfd67a8c3eef4"
Still getting error in http://80.241.221.232:8500/bzz:/3dhdwallpapers.eth/ as 'error resolving 3dhdwallpapers.eth: no contract code at given address'
Any help here much appreciated..