Prepare signing function
This commit is contained in:
parent
d35586d89f
commit
587b227a45
1 changed files with 3 additions and 3 deletions
|
|
@ -1885,11 +1885,11 @@ std::string sidechain_net_handler_bitcoin::sign_transaction_psbt(const sidechain
|
|||
std::string sidechain_net_handler_bitcoin::sign_transaction_standalone(const sidechain_transaction_object &sto, bool &complete) {
|
||||
complete = false;
|
||||
|
||||
std::string pubkey = plugin.get_current_son_object().signing_key.at(sidechain);
|
||||
std::string pubkey = plugin.get_current_son_object().sidechain_public_keys.at(sidechain);
|
||||
std::string prvkey = get_private_key(pubkey);
|
||||
std::tx = sto.transaction;
|
||||
std::string tx = sto.transaction;
|
||||
|
||||
std::tx_signature = "";
|
||||
std::string tx_signature = "";
|
||||
|
||||
complete = true;
|
||||
return tx_signature;
|
||||
|
|
|
|||
Loading…
Reference in a new issue