def test_dict_conversion(self): unspent = Unspent(10000, 7, "script", "txid", 0) assert unspent == Unspent.from_dict(unspent.to_dict())
def test_dict_conversion(self): unspent = Unspent(10000, 7, 'script', 'txid', 0) assert unspent == Unspent.from_dict(unspent.to_dict())