Browse Source

Update wallet_listreceived test for now-correct empty Sapling memos

pull/4/head
Jack Grigg 6 years ago
parent
commit
f09aae037c
No known key found for this signature in database GPG Key ID: 1B8D649257DB0829
  1. 5
      qa/rpc-tests/wallet_listreceived.py

5
qa/rpc-tests/wallet_listreceived.py

@ -12,9 +12,6 @@ my_memo = 'c0ffee' # stay awake
my_memo = my_memo + '0'*(1024-len(my_memo))
no_memo = 'f6' + ('0'*1022) # see section 5.5 of the protocol spec
# sapling generates zero_memo, but this may be fixed soon (to no_memo)
# then this test can be simplified
zero_memo = '0'*1024
fee = Decimal('0.0001')
@ -95,7 +92,7 @@ class ListReceivedTest (BitcoinTestFramework):
def run_test(self):
self.run_test_release('sprout', no_memo, 200)
self.run_test_release('sapling', zero_memo, 204)
self.run_test_release('sapling', no_memo, 204)
if __name__ == '__main__':
ListReceivedTest().main()

Loading…
Cancel
Save