-
Notifications
You must be signed in to change notification settings - Fork 47
[bug] The fee field is not respected when using stx_signTransaction #197
Copy link
Copy link
Open
Description
Is there an existing issue for this?
- I have searched the existing issues
SATS-CONNECT Version
3.0.1
Current Behavior
When using unsigned stx transfers, wallet opens a pop-up for the user to sign the transaction, but it doesn't respect the fee set by the developer.
Expected Behavior
Wallet would open the pop-up to sign a transaction with the fee set by the developer.
Steps To Reproduce
Create an unsigned token transfer transaction:
const txOptions: UnsignedTokenTransferOptions = {
network: Network,
amount,
recipient,
fee,
nonce,
publicKey,
};
const serializedTx = serializeTransaction(
await makeUnsignedSTXTokenTransfer(txOptions)
);
const signedTransaction = await xverseRequest("stx_signTransaction", {
transaction: serializedTx,
pubkey: publicKey,
});
Link to Minimal Reproducible Example (CodeSandbox, StackBlitz, etc.)
No response
Anything else?
Usign unsigned contract calls works as expected.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels