Skip to content

Commit

Permalink
fix: remove version from script
Browse files Browse the repository at this point in the history
  • Loading branch information
classicalliu committed Apr 10, 2019
1 parent 5662a54 commit 9348185
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion lib/ckb/wallet.rb
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,6 @@ def lock

def generate_lock(target_pubkey_hash_bin)
{
version: 0,
binary_hash: api.system_script_cell_hash,
args: [
CKB::Utils.bin_to_hex(target_pubkey_hash_bin)
Expand Down
1 change: 0 additions & 1 deletion spec/ckb/utils_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ def always_success_json_object
)
always_success_cell_hash = Utils.bin_to_prefix_hex(hash_bin)
{
version: 0,
binary_hash: always_success_cell_hash,
args: []
}
Expand Down

0 comments on commit 9348185

Please sign in to comment.