Skip to content

Commit

Permalink
Fix keyId for HTTP get transaction request
Browse files Browse the repository at this point in the history
  • Loading branch information
jribbink committed Dec 19, 2024
1 parent 93649ba commit 0f3f8b7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/great-ears-joke.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@onflow/transport-http": patch
---

Fix keyId for HTTP get transaction request
2 changes: 1 addition & 1 deletion packages/transport-http/src/send-get-transaction.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export async function sendGetTransaction(ix, context = {}, opts = {}) {

const unwrapKey = key => ({
address: key.address,
keyId: Number(key.key_id),
keyId: Number(key.key_index),
sequenceNumber: Number(key.sequence_number),
})

Expand Down

0 comments on commit 0f3f8b7

Please sign in to comment.