fireblocks / fireblocks-sdk-py

Official Python SDK for Fireblocks API
http://docs.fireblocks.com/api/swagger-ui/
MIT License
51 stars 40 forks source link

does "Idempotency-Key" header work? #97

Closed mt-nobuo-tsuchiya closed 1 year ago

mt-nobuo-tsuchiya commented 1 year ago

Describe the bug In method _post_request() , idempotency_key parameter doesnt work
Maybe it's simply bug on (sdk.py, line:1595)

To Reproduce call method(e.g. create_transaction) twice with same idempotency_key parameter (it always makes two transactions)

Expected behavior keep idempotency (when set idempotency_key parameter, add Idempotency-Key header)

Versions (please complete the following information):

mt-nobuo-tsuchiya commented 1 year ago

thanks for the fix! (and sorry for my bad english)