void wallet::sign_transaction( signed_transaction& trx, const bts::address& addr ) { ilog( "Sign ${trx} ${addr}", ("trx",trx.id())("addr",addr)); auto priv_key_idx = my->_my_addresses.find(addr); FC_ASSERT( priv_key_idx != my->_my_addresses.end() ); trx.sign( my->_data.extra_keys[priv_key_idx->second] ); }
void database_fixture::sign(signed_transaction& trx, const fc::ecc::private_key& key) { trx.sign( key, db.get_chain_id() ); }
void database_fixture::sign(signed_transaction& trx, const fc::ecc::private_key& key) { trx.sign( key ); }
void database_fixture::sign(signed_transaction& trx, const fc::ecc::private_key& key) { trx.sign( key, db->get_chain_id(), default_sig_canon ); }