Fixing variable scope issue in Taproot validation

Created GLOBAL.bech32 and GLOBAL.segwit_addr to expose these functions
This commit is contained in:
tripathyr 2023-08-08 15:58:56 +05:30 committed by GitHub
parent 56fe27b77d
commit 6c2c53e47c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9237,11 +9237,13 @@
var bech32={};
var segwit_addr = {};
(function(){
var bech32 = GLOBAL.bech32 = {};
var segwit_addr = GLOBAL.segwit_addr = {};
var CHARSET = 'qpzry9x8gf2tvdw0s3jn54khce6mua7l';
var GENERATOR = [0x3b6a57b2, 0x26508e6d, 0x1ea119fa, 0x3d4233dd, 0x2a1462b3];