Open mroz22 opened 4 years ago
I need assistance, I have this issue with my coin stuck and can't send. How can I correct this issue on my trezor one to send my coin? All help greatly appreciated.
Maybe a trivial fix would be to replace
bufferWriter.writeUInt64(this.valueBalance)
with
bufferWriter.readInt64(this.valueBalance)
Thanks for the comment. Hopefully there will be a correction for me to release my ZEC coin. I am not a coder so have to rely on friends like you.
This fixes the issue for us: https://github.com/trezor/trezor-utxo-lib/commit/c41701b69cd8fdac60e0383a63c4a68cabe7eb94
Ok thanks, Sorry I am learning here. How do I get this into the Trezor one to correct it? I have only worked out how to change the .bin and not code the files myself.
Closing this. I'll send a pull request to this repo once we've tested this.
@GIBR0 please wait for the next update.
ok many thanks Pavol
I have this same issue. Can't send any ZEC transactions with my Trezor Model T. Updated to latest firmware (August 5th).
Please push update soon as possible, I need to move some coins.
Failed to send transaction Error details: specified a negative value for writing an unsigned value
@seperatis please send me an email to stick@satoshilabs.com - I'll give you URL where you can test our fix
@GIBR0 please send me an email to stick@satoshilabs.com - I'll give you URL where you can test our fix
@seperatis please send me an email to stick@satoshilabs.com - I'll give you URL where you can test our fix
@GIBR0 please send me an email to stick@satoshilabs.com - I'll give you URL where you can test our fix
Emailed you... I'll let you know results after I try it.
Zcash tx with negative balanceValue
if sum of amounts of shielded outputs is greater than sum of amounts of shielded inputs then tx.valueBalance is < 0. Such tx breaks
Transaction.prototype.getHash
How to reproduce:
Problem is that unsigned int is expected here
https://github.com/BitGo/bitgo-utxo-lib/blob/7c91a916dd7318557918439156b87c55a9ff0854/src/transaction.js#L717
Which obviously throws here
https://github.com/BitGo/bitgo-utxo-lib/blob/7c91a916dd7318557918439156b87c55a9ff0854/src/bufferutils.js#L10