Closed doitian closed 2 months ago
Allow use sha256 in TLC.
See contract PR https://github.com/nervosnetwork/cfn-scripts/pull/6
hash_algorithm
The sha256 TLC is covered in the e2e test case 3-nodes-transfer with extra args --env-var HASH_ALGORITHM=sha256
--env-var HASH_ALGORITHM=sha256
Need time to add tests to cover SHA256 HTLC, but the code is ready for review.
Allow use sha256 in TLC.
See contract PR https://github.com/nervosnetwork/cfn-scripts/pull/6
hash_algorithm
when adding TLChash_algorithm
in the internal TLC structhash_algorithm
hash_algorithm
in the invoice as a new attributeThe sha256 TLC is covered in the e2e test case 3-nodes-transfer with extra args
--env-var HASH_ALGORITHM=sha256