Skip to content

Commit

Permalink
clean up the submitTransactionRequest parse unparse nonsense
Browse files Browse the repository at this point in the history
  • Loading branch information
frankiebee committed Oct 23, 2024
1 parent 7a12dc4 commit a898eaf
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/signing/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -308,11 +308,10 @@ export default class SignatureRequestManager {

async submitTransactionRequest (message: EncMsg): Promise<string[][]> {
// Extract the required fields from parsedMsg
const payload = JSON.parse(message.msg)
const sigProof = (await sendHttpPost(
const sigProof = await sendHttpPost(
`http://${message.url}/user/relay_tx`,
JSON.stringify(payload)
))
message.msg
)
return sigProof
}

Expand Down

0 comments on commit a898eaf

Please sign in to comment.