Skip to content
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.

API Client ignores custom nonce in string format when creating a transaction #8132

Closed
Tracked by #7210
bobanm opened this issue Feb 9, 2023 · 0 comments · Fixed by #8133
Closed
Tracked by #7210

API Client ignores custom nonce in string format when creating a transaction #8132

bobanm opened this issue Feb 9, 2023 · 0 comments · Fixed by #8133

Comments

@bobanm
Copy link
Contributor

bobanm commented Feb 9, 2023

Expected behavior

API Client's Transaction.create() should handle custom transaction nonces provided in string format.

Actual behavior

If a nonce is provided in string format, it will default to account nonce because of missing typeof operator.

Steps to reproduce

Invoke Transaction.create() and provide a custom nonce in string format.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
2 participants