lib/extensions/bitcoin/rpc/request_handler.rb in bitcoinrb-grpc-0.1.1 vs lib/extensions/bitcoin/rpc/request_handler.rb in bitcoinrb-grpc-0.1.2
- old
+ new
@@ -89,10 +89,10 @@
{}
end
def signrawtransaction(account_name, payload)
tx = Bitcoin::Tx.parse_from_payload(payload.htb)
- signed_tx = Bitcoin::Wallet::Signer.sign(node, account_name, tx)
+ signed_tx = Bitcoin::Wallet::Signer.sign(node.wallet, account_name, tx)
{ hex: signed_tx.to_payload.bth }
end
end
end
end