Compare commits

...

2 Commits

Author SHA1 Message Date
Michał Sałaban 3fcab577eb Fix error on missing indices; reformat
2 years ago
Michał Sałaban 021a7ad68e Remove outdated comment
2 years ago

@ -1598,7 +1598,9 @@ class JSONRPCDaemon(object):
timestamp=datetime.fromtimestamp(tx["block_timestamp"])
if "block_timestamp" in tx
else None,
output_indices=tx["output_indices"],
output_indices=tx["output_indices"]
if "output_indices" in tx
else None,
blob=binascii.unhexlify(tx["as_hex"]) or None,
json=as_json,
)

@ -440,6 +440,6 @@ _err2exc = {
-29: exceptions.WalletIsWatchOnly,
-37: exceptions.NotEnoughUnlockedMoney,
-38: exceptions.NoDaemonConnection,
-43: exceptions.WalletIsNotDeterministic, # https://github.com/monero-project/monero/pull/4653
-43: exceptions.WalletIsNotDeterministic,
-32601: MethodNotFound,
}

Loading…
Cancel
Save