diff --git a/libraries/plugins/peerplays_sidechain/sidechain_net_handler_bitcoin.cpp b/libraries/plugins/peerplays_sidechain/sidechain_net_handler_bitcoin.cpp index efae27a4..38afedf7 100644 --- a/libraries/plugins/peerplays_sidechain/sidechain_net_handler_bitcoin.cpp +++ b/libraries/plugins/peerplays_sidechain/sidechain_net_handler_bitcoin.cpp @@ -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;