From 93481859f1a36cd3fa51ee58124a7c2284dae428 Mon Sep 17 00:00:00 2001 From: classicalliu Date: Wed, 10 Apr 2019 11:47:34 +0800 Subject: [PATCH] fix: remove version from script --- lib/ckb/wallet.rb | 1 - spec/ckb/utils_spec.rb | 1 - 2 files changed, 2 deletions(-) diff --git a/lib/ckb/wallet.rb b/lib/ckb/wallet.rb index 81810a0f..ba7fdf35 100644 --- a/lib/ckb/wallet.rb +++ b/lib/ckb/wallet.rb @@ -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) diff --git a/spec/ckb/utils_spec.rb b/spec/ckb/utils_spec.rb index ddbd7b1d..72f131f0 100644 --- a/spec/ckb/utils_spec.rb +++ b/spec/ckb/utils_spec.rb @@ -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: [] }