aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2019-07-09 14:39:10 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2019-07-09 14:39:44 +0000
commit3140a378da43ae71c26304543bd9631f9fcb252d (patch)
tree2d791cbdb63d113bc4b17cd373c76490514e5e45 /tests
parentMerge pull request #5663 (diff)
downloadmonero-3140a378da43ae71c26304543bd9631f9fcb252d.tar.xz
wallet_rpc_server: fix get_bulk_payments with short payment ids
Diffstat (limited to 'tests')
-rwxr-xr-xtests/functional_tests/transfer.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/functional_tests/transfer.py b/tests/functional_tests/transfer.py
index 7bf0f4957..d9a6e592e 100755
--- a/tests/functional_tests/transfer.py
+++ b/tests/functional_tests/transfer.py
@@ -519,6 +519,9 @@ class TransferTest():
res = self.wallet[2].get_bulk_payments(payment_ids = ['1'*64, '1234500000012345abcde00000abcdeff1234500000012345abcde00000abcde', '2'*64])
assert len(res.payments) >= 1 # one tx was sent
+ res = self.wallet[1].get_bulk_payments(["1111111122222222"])
+ assert len(res.payments) >= 1 # we have one of these
+
def check_double_spend_detection(self):
print('Checking double spend detection')
txes = [[None, None], [None, None]]