Skip to content

Commit

Permalink
feat: update expected code hash
Browse files Browse the repository at this point in the history
  • Loading branch information
shaojunda committed Oct 30, 2019
1 parent 1a8c5fb commit 6087c22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ckb/api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def initialize(host: CKB::RPC::DEFAULT_URL, mode: MODE::TESTNET)
@rpc = CKB::RPC.new(host: host)
if mode == MODE::TESTNET
# Testnet system script code_hash
expected_code_hash = "0xc8b0772347016713ee8039d6b1d2f4b02803abdc4ea4e95677b0c5e8ff52ea3b"
expected_code_hash = "0x973bdb373cbb1d752b4ac006e2bb5bdcb63431ed2b6e394b22721c8906a2ad72"
expected_type_hash = "0x9bd7e06f3ecf4be0f2fcd2188b23f1b9fcc88e5d4b65a8637b17723bbda3cce8"
# For testnet chain, we can assume the second cell of the first transaction
# in the genesis block contains default lock script we can use here.
Expand Down

0 comments on commit 6087c22

Please sign in to comment.