Fix script which updates wallet API in wallet.py and run it
Changes
- I got report from @kudmich that script
update_wallet_api.py
was broken. So here this problem was fixed. - Generated output was not correctly formatted, so automatic formatter run at the end of code generation was added.
- Run corrected script on current code, to remove differences between actual version and script generated version.
Please review: @kmochocki @mzebrak