torusresearch / customauth-swift-sdk

Swift SDK that allows applications to directly interact with the Torus Network, similar to how Torus Wallet does.
BSD 3-Clause "New" or "Revised" License
10 stars 17 forks source link

Can't receive toruskey - FetchNodeDetails fails to decode #54

Closed Shawon91sust closed 1 year ago

Shawon91sust commented 1 year ago

Failing to retrieve TorusNodePub recently. Log says JSON Decoding Error.

CustomAuthDemo[23275:140364] [core] commitmentRequest - error: JSON Decoding error ["nodeindex": 3, "nodepubx": "b56541684ea5fa40c8337b7688d502f0e9e092098962ad344c34e94f06d293fb", "data": "mug00\u{1C}0f290f8a5774554ba18f3d30cce99e02b2e4d075aa3365e779f7525f1bd14f1d\u{1C}eae5cfca4358127552ff444de1fb9cbe461d727ee32e20fd68b030b01e417264\u{1C}7352f7ea58d25bfe9d390bc7ca0c31fb3d6d30a07cad343ae6da3fcbcd23c048\u{1C}google-lrc\u{1C}1688626382", "nodepuby": "759a998cef79d389082f9a75061a29190eec0cac99b8c25ddcf6b58569dad55c", "signature": "d860a69f68572f80b53978323f2ade8037a9f78130720f7440ad5d089f624f9334b52f5e9d0b968aa7b1d68f5ade2fb24ad04898fd94b53f2a3a2cf513f481871b"] is not a [String: String]

Any feedback on how to resolve that ?

chaitanyapotti commented 1 year ago

This is fixed now. It was due to a migration issue