Skip to content

Commit 629248a

Browse files
committed
Log the correct signature and pub_slot for batched updates
1 parent 99d3514 commit 629248a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pc/request.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -827,8 +827,8 @@ bool price::send( price *prices[], const unsigned n )
827827
.add( "product_account", *p1->prod_->get_account() )
828828
.add( "symbol", p1->get_symbol() )
829829
.add( "price_type", price_type_to_str( p1->get_price_type() ) )
830-
.add( "sig", p1->tvec_.back().first )
831-
.add( "pub_slot", p1->preq_->get_slot() )
830+
.add( "sig", p->tvec_.back().first )
831+
.add( "pub_slot", p->preq_->get_slot() )
832832
.end();
833833
if ( PC_UNLIKELY( p1->tvec_.size() >= 100 ) ) {
834834
PC_LOG_WRN( "too many unacked price update transactions" )

0 commit comments

Comments
 (0)