mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-12-01 17:45:49 +00:00
Fix signingHash calls; make rsign output pre-sign hash.
This commit is contained in:
@@ -280,7 +280,7 @@ Transaction.prototype.sign = function() {
|
||||
var prev_sig = this.tx_json.TxnSignature;
|
||||
delete this.tx_json.TxnSignature;
|
||||
|
||||
var hash = this.signing_hash();
|
||||
var hash = this.signingHash();
|
||||
|
||||
// If the hash is the same, we can re-use the previous signature
|
||||
if (prev_sig && hash === this.previousSigningHash) {
|
||||
|
||||
Reference in New Issue
Block a user