Partial reversion of 2cb89814b6

Fixes #523

BU, XT and other coins based on older Core code require integers
not booleans
This commit is contained in:
Neil Booth 2018-07-14 14:22:35 +08:00
parent e1e4129e17
commit 70f8d7c4b9

View File

@ -271,7 +271,7 @@ class Daemon(object):
'''Return the serialized raw transactions with the given hashes. '''Return the serialized raw transactions with the given hashes.
Replaces errors with None by default.''' Replaces errors with None by default.'''
params_iterable = ((hex_hash, False) for hex_hash in hex_hashes) params_iterable = ((hex_hash, 0) for hex_hash in hex_hashes)
txs = await self._send_vector('getrawtransaction', params_iterable, txs = await self._send_vector('getrawtransaction', params_iterable,
replace_errs=replace_errs) replace_errs=replace_errs)
# Convert hex strings to bytes # Convert hex strings to bytes