Update wallet_listreceived test for now-correct empty Sapling memos

This commit is contained in:
Jack Grigg 2018-10-04 22:46:15 +01:00
parent 5f91a95641
commit f09aae037c
No known key found for this signature in database
GPG Key ID: 1B8D649257DB0829
1 changed files with 1 additions and 4 deletions

View File

@ -12,9 +12,6 @@ my_memo = 'c0ffee' # stay awake
my_memo = my_memo + '0'*(1024-len(my_memo)) my_memo = my_memo + '0'*(1024-len(my_memo))
no_memo = 'f6' + ('0'*1022) # see section 5.5 of the protocol spec 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') fee = Decimal('0.0001')
@ -95,7 +92,7 @@ class ListReceivedTest (BitcoinTestFramework):
def run_test(self): def run_test(self):
self.run_test_release('sprout', no_memo, 200) 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__': if __name__ == '__main__':
ListReceivedTest().main() ListReceivedTest().main()