Skip to content

Commit 82d2a71

Browse files
massjhunsaker
authored andcommitted
Fix constructor parameter order and unnecessary declaration.
1 parent c763eca commit 82d2a71

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

pc/request.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2048,7 +2048,7 @@ bool price::update(
20482048
mgr->submit( preq_ );
20492049
else {
20502050
get_rpc_client()->send( preq_ );
2051-
tvec_.emplace_back( std::string( '\0' , 100 ), preq_->get_sent_time() );
2051+
tvec_.emplace_back( std::string( 100, '\0' ), preq_->get_sent_time() );
20522052
preq_->get_signature()->enc_base58( tvec_.back().first );
20532053
PC_LOG_DBG( "sent price update transaction" )
20542054
.add( "price_account", *get_account() )

pctest/test_publish.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,6 @@ class test_connect : public pc::manager_sub
3333
// have we received an on_init() callback yet
3434
bool get_is_init() const;
3535

36-
// get price from map
37-
pc::price *get_price( const std::string& ) const;
38-
3936
void teardown();
4037

4138
private:

0 commit comments

Comments
 (0)