diff --git a/server/daemon.py b/server/daemon.py index 2225b35..9bb2f55 100644 --- a/server/daemon.py +++ b/server/daemon.py @@ -264,8 +264,9 @@ class Daemon(object): async def getrawtransaction(self, hex_hash, verbose=False): '''Return the serialized raw transaction with the given hash.''' + # Cast to int because some coin daemons are old and require it return await self._send_single('getrawtransaction', - (hex_hash, verbose)) + (hex_hash, int(verbose))) async def getrawtransactions(self, hex_hashes, replace_errs=True): '''Return the serialized raw transactions with the given hashes.