Skip to content

Commit

Permalink
feat: support segwit
Browse files Browse the repository at this point in the history
  • Loading branch information
classicalliu committed Apr 1, 2019
1 parent 935cf89 commit 6959395
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/ckb/wallet.rb
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,8 @@ def generate_tx(target_lock, capacity)
version: 0,
deps: [api.system_script_out_point],
inputs: CKB::Utils.sign_sighash_all_inputs(i.inputs, outputs, privkey),
outputs: outputs
outputs: outputs,
witnesses: []
}
end

Expand Down

0 comments on commit 6959395

Please sign in to comment.