From 373e38a97b0d3ed16234c927a7ce64156217ee18 Mon Sep 17 00:00:00 2001 From: classicalliu Date: Tue, 14 May 2019 22:23:57 +0800 Subject: [PATCH] feat: using real tx_hash after sign --- lib/ckb/types/transaction.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ckb/types/transaction.rb b/lib/ckb/types/transaction.rb index 725f08bd..26557f94 100644 --- a/lib/ckb/types/transaction.rb +++ b/lib/ckb/types/transaction.rb @@ -41,7 +41,7 @@ def sign(key, tx_hash) end self.class.new( - hash: hash, + hash: tx_hash, # using real tx_hash instead version: version, deps: deps, inputs: inputs,