mediachain / oldchain-client

[DEPRECATED] old mediachain client experiments
MIT License
4 stars 2 forks source link

error handling for stringify_refs #92

Closed yusefnapora closed 8 years ago

yusefnapora commented 8 years ago

There's some data in the testnet that has a @link key, but a dictionary as a value, which breaks the stringify_refs fn.

This just makes sure that the thing we're trying to b58encode is a (byte)string, and catch errors during the encoding process.