Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OrderedDict to string can change place for fields #7

Open
topilski opened this issue May 15, 2018 · 0 comments
Open

OrderedDict to string can change place for fields #7

topilski opened this issue May 15, 2018 · 0 comments

Comments

@topilski
Copy link

Hi, on client side after print i have:
OrderedDict([('value', 1), ('sender_address', '30819f300d06092a864886f70d010101050003818d0030818902818100b5ee6802cd965cc6dae7f58e4ead61178f63435151bd2b828a04c2e67643161ecc855ddab5af5efa36b174edfa0a9b585ffcd989edf8255b8b2d92881a161b767129a742204d17e7df3eb51fc7e10887ad9e8ca519137e9fb3ddb1ca2e698a81784467dc9944b7e9688de552ea179e70612674d51c8decb9762fcb71f2fd4f950203010001'), ('recipient_address', '30819f300d06092a864886f70d010101050003818d0030818902818100b5ee6802cd965cc6dae7f58e4ead61178f63435151bd2b828a04c2e67643161ecc855ddab5af5efa36b174edfa0a9b585ffcd989edf8255b8b2d92881a161b767129a742204d17e7df3eb51fc7e10887ad9e8ca519137e9fb3ddb1ca2e698a81784467dc9944b7e9688de552ea179e70612674d51c8decb9762fcb71f2fd4f950203010001')])
on bitcoin side:
OrderedDict([('sender_address', '30819f300d06092a864886f70d010101050003818d0030818902818100b5ee6802cd965cc6dae7f58e4ead61178f63435151bd2b828a04c2e67643161ecc855ddab5af5efa36b174edfa0a9b585ffcd989edf8255b8b2d92881a161b767129a742204d17e7df3eb51fc7e10887ad9e8ca519137e9fb3ddb1ca2e698a81784467dc9944b7e9688de552ea179e70612674d51c8decb9762fcb71f2fd4f950203010001'), ('value', 1), ('recipient_address', '30819f300d06092a864886f70d010101050003818d0030818902818100b5ee6802cd965cc6dae7f58e4ead61178f63435151bd2b828a04c2e67643161ecc855ddab5af5efa36b174edfa0a9b585ffcd989edf8255b8b2d92881a161b767129a742204d17e7df3eb51fc7e10887ad9e8ca519137e9fb3ddb1ca2e698a81784467dc9944b7e9688de552ea179e70612674d51c8decb9762fcb71f2fd4f950203010001')])

as you can see dict value equals, but strings different as result verify return false.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant