@dashevo/dashcore-lib
Advanced tools
Comparing version 0.19.41 to 0.19.42
@@ -95,6 +95,2 @@ /* eslint-disable */ | ||
{ | ||
name: 'invalidP2SHAddress', | ||
message: 'Invalid P2SHAddress', | ||
}, | ||
{ | ||
name: 'invalidPayment', | ||
@@ -130,6 +126,2 @@ message: 'Invalid Payment Amount', | ||
{ | ||
name: 'invalidP2SHAddresses', | ||
message: 'Invalid P2SH Payment Addresses', | ||
}, | ||
{ | ||
name: 'invalidPaymentAmounts', | ||
@@ -136,0 +128,0 @@ message: 'Invalid Payment Amounts', |
@@ -154,7 +154,2 @@ /* eslint-disable */ | ||
// verify not P2SH | ||
if (this._verifyPayToScriptHash(this.payment_address, this.network)) { | ||
return new errors.GovObject.Proposal.invalidP2SHAddress(); | ||
} | ||
// verify payment amount (should be non-negative number) | ||
@@ -161,0 +156,0 @@ if (this._verifyPayment(this.payment_amount)) { |
@@ -155,6 +155,2 @@ /* eslint-disable */ | ||
} | ||
// verify not P2SH | ||
if (self._verifyPayToScriptHash(addr, self.network)) { | ||
return new errors.GovObject.Trigger.invalidP2SHAddresses(); | ||
} | ||
}); | ||
@@ -161,0 +157,0 @@ |
{ | ||
"name": "@dashevo/dashcore-lib", | ||
"version": "0.19.41", | ||
"version": "0.19.42", | ||
"description": "A pure and powerful JavaScript Dash library.", | ||
@@ -5,0 +5,0 @@ "author": "Dash Core Group, Inc. <dev@dash.org>", |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2741846
36989