Skip to content

Commit

Permalink
Merge pull request #17 from classicalliu/remove-version-from-script
Browse files Browse the repository at this point in the history
fix: remove version from script
  • Loading branch information
ashchan authored Apr 10, 2019
2 parents 5662a54 + 9348185 commit d4d64ba
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 d4d64ba

Please sign in to comment.