From 3540d98910141ecf9b17ea2b04e0f0c7dd6373e6 Mon Sep 17 00:00:00 2001 From: Salem Mohammed Shamakh <58360393+salemkode@users.noreply.github.com> Date: Tue, 30 Nov 2021 08:15:12 +0300 Subject: [PATCH 1/2] Update docs of bchjs.Crypto.sha256 --- src/crypto.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/crypto.js b/src/crypto.js index 5d4b095..6b76287 100644 --- a/src/crypto.js +++ b/src/crypto.js @@ -22,7 +22,7 @@ class Crypto { * // buffer from hex * let buffer = Buffer.from('03123464075c7a5fa6b8680afa2c962a02e7bf071c6b2395b0ac711d462cac9354', 'hex') * bchjs.Crypto.sha256(buffer) - * // + * // * * */ // Translate address from any address format into a specific format. From a8a4eb68a6217cc3e3125de822dac54f4250b869 Mon Sep 17 00:00:00 2001 From: Chris Troutner Date: Tue, 30 Nov 2021 06:35:19 -0800 Subject: [PATCH 2/2] fix(bchjs.Crypto.sha256): Updating docs --- LICENSE.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/LICENSE.md b/LICENSE.md index 2ffaa84..7f59b3f 100644 --- a/LICENSE.md +++ b/LICENSE.md @@ -1,7 +1,8 @@ -Copyright 2021 Chris Troutner +Copyright 2021 Permissionless Software Foundation contributors Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +