mirror of
https://git.wownero.com/lza_menace/wownero-python.git
synced 2024-08-15 03:25:25 +00:00
Use protocol constant
This commit is contained in:
parent
e493ddb9dd
commit
9a6bc49a28
1 changed files with 2 additions and 1 deletions
|
@ -194,7 +194,8 @@ class JSONRPCWallet(object):
|
|||
params['max_height'] = pmtfilter.max_height
|
||||
params['filter_by_height'] = True
|
||||
# PR#3235 makes the following obsolete
|
||||
params['max_height'] = params.get('max_height', 2**64-1)
|
||||
# CRYPTONOTE_MAX_BLOCK_NUMBER = 500000000
|
||||
params['max_height'] = params.get('max_height', 500000000)
|
||||
else:
|
||||
arg = 'payments'
|
||||
# NOTE: the API uses (min, max] range which is confusing
|
||||
|
|
Loading…
Reference in a new issue