Skip to content

Commit 0374270

Browse files
committed
Clarify comment
1 parent 5814705 commit 0374270

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

pc/rpc_client.cpp

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -888,8 +888,16 @@ class tx_wtr : public net_wtr
888888
}
889889
};
890890

891+
// Populates the given tx with the given upd_price requests. This function allows
892+
// specifying the number of requested cu units, and a price per cu unit, to enable
893+
// priority fees. If these parameters are emitted these are left as unspecified in
894+
// the transaction.
891895
bool rpc::upd_price::build_tx(
892-
bincode& tx, upd_price* upds[], const unsigned n, unsigned cu_units, unsigned cu_price
896+
bincode& tx,
897+
upd_price* upds[],
898+
const unsigned n,
899+
unsigned cu_units,
900+
unsigned cu_price
893901
)
894902
{
895903
if ( ! n ) {

0 commit comments

Comments
 (0)