-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
A-1206908284153320: switch to api v2 #133
Conversation
@@ -106,6 +109,19 @@ const SendTransaction = ({ | |||
setPassValidity(false) | |||
setPass('') | |||
setAllowClosing(true) | |||
} else if (e.message.includes('minimum fee')) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For the cases when fee was not calculates properly, then provided by server.
@@ -56,19 +59,40 @@ const getTxInput = async (outpointSourceId) => { | |||
) | |||
} | |||
|
|||
const getTransactionUtxos = (utxos, amountToUse, fee = 0) => { | |||
let balance = 0 | |||
/** |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added comment with small explanation how was fixed fee error
Reverted error 870b8f7 because Tx error may be overwritten with empty string. Different errors handling could be done in scope of refactoring |
💬 Description
Switched to API v2
Bug fix of the cases when server return
Mempool error: Transaction does not pay sufficient fees to be relayed
Bugfix for Signature errors by using more precise BigInt across functions related to collecting data to server. UI using floats or casting to Numbers
More
📋 Checklist:
A-[id of Asana task]
A-[id of Asana task]: [short description]
prettier
checklint
check