Skip to content

Commit

Permalink
Merge pull request #388 from XuJiandong/hash-calculation
Browse files Browse the repository at this point in the history
Different hash calculation to pw-lock
  • Loading branch information
zhangsoledad authored Jan 22, 2023
2 parents 96a96fa + ee1baf2 commit 7248f62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rfcs/0042-omnilock/0042-omnilock.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ Depending on the value of the flag, the auth content has the following interpret
lock](https://github.com/nervosnetwork/rfcs/blob/780b2f98068ed2337f3a97b02ec6b5336b6fb143/rfcs/0024-ckb-genesis-script-list/0024-ckb-genesis-script-list.md#secp256k1blake160).

* 0x01~0x05: It follows the same unlocking methods used by
[PW-lock](https://github.com/lay2dev/pw-lock/blob/c2b1456bcca06c892e1bb8ec8ac0a64d4fb2b83d/c/pw_lock.h#L190-L223)
[PW-lock](https://github.com/lay2dev/pw-lock/blob/c2b1456bcca06c892e1bb8ec8ac0a64d4fb2b83d/c/pw_lock.h#L190-L223) with different [hash calculation](https://github.com/lay2dev/pw-lock#hash-calculation) on message. PW-lock uses keccak256 instead of blake2b which is used in omnilock.


* 0x06: It follows the same unlocking method used by [CKB
Expand Down

0 comments on commit 7248f62

Please sign in to comment.