aboutsummaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2022-03-02 19:03:14 -0500
committerluigi1111 <luigi1111w@gmail.com>2022-03-02 19:03:14 -0500
commit1610b93975c26cdc7cf686abdb3f4e12cf5579f8 (patch)
tree348f8636b459d98a874134800bcb8f781beb68ae /js
parent8ece450f18446f22f595bd789513d6d4123ceaf4 (diff)
parent2bf0dd840f907b406271863540c8efe002b2cdc3 (diff)
downloadmonzero-gui-1610b93975c26cdc7cf686abdb3f4e12cf5579f8.tar.gz
monzero-gui-1610b93975c26cdc7cf686abdb3f4e12cf5579f8.tar.xz
monzero-gui-1610b93975c26cdc7cf686abdb3f4e12cf5579f8.zip
Merge pull request #3828
2bf0dd8 Advanced: ReserveProof: Resolve review by selsta (reemuru) 0f67580 Advanced: ReserveProof: Add support for reserve proof (reemuru)
Diffstat (limited to 'js')
-rw-r--r--js/TxUtils.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/js/TxUtils.js b/js/TxUtils.js
index 63405338..de79b625 100644
--- a/js/TxUtils.js
+++ b/js/TxUtils.js
@@ -61,6 +61,10 @@ function checkSignature(signature) {
if ((signature.length - 12) % 88 != 0)
return false;
return check256(signature, signature.length);
+ } else if (signature.indexOf("ReserveProofV") === 0) {
+ if ((signature.length - 14) % 447 != 0)
+ return false;
+ return check256(signature, signature.length);
}
return false;
}