Skip to content

Commit c3d96c8

Browse files
committed
Change RPC client to send e_cmd_upd_price_no_fail_on_error instructions
1 parent 0c7fb9e commit c3d96c8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pc/rpc_client.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -809,7 +809,7 @@ rpc::upd_price::upd_price()
809809
ckey_( nullptr ),
810810
gkey_( nullptr ),
811811
akey_( nullptr ),
812-
cmd_( e_cmd_upd_price )
812+
cmd_( e_cmd_upd_price_no_fail_on_error )
813813
{
814814
}
815815

@@ -851,7 +851,7 @@ void rpc::upd_price::set_price( int64_t px,
851851
price_ = px;
852852
conf_ = conf;
853853
st_ = st;
854-
cmd_ = is_agg?e_cmd_agg_price:e_cmd_upd_price;
854+
cmd_ = is_agg?e_cmd_agg_price:e_cmd_upd_price_no_fail_on_error;
855855
}
856856

857857
void rpc::upd_price::set_slot( const uint64_t pub_slot )

0 commit comments

Comments
 (0)