File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed
Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change 66 ` InboundPutRecordRequest ` into ` InboundRequest::PutRecord ` and ` InboundAddProviderRequest ` into
77 ` InboundRequest::AddProvider ` (see [ PR 2297] ).
88
9+ - Populate the ` key ` field when converting ` KadRequestMsg::PutValue ` to ` proto::Message ` (see [ PR 2309] ).
10+
911[ PR 2245 ] : https://github.com/libp2p/rust-libp2p/pull/2245
1012[ PR 2297 ] : https://github.com/libp2p/rust-libp2p/pull/2297
13+ [ PR 2309 ] : https://github.com/libp2p/rust-libp2p/pull/2309
1114
1215# 0.32.0-rc.2 [ 2021-10-15]
1316
Original file line number Diff line number Diff line change @@ -378,6 +378,7 @@ fn req_msg_to_proto(kad_msg: KadRequestMsg) -> proto::Message {
378378 } ,
379379 KadRequestMsg :: PutValue { record } => proto:: Message {
380380 r#type : proto:: message:: MessageType :: PutValue as i32 ,
381+ key : record. key . to_vec ( ) ,
381382 record : Some ( record_to_proto ( record) ) ,
382383 ..proto:: Message :: default ( )
383384 } ,
You can’t perform that action at this time.
0 commit comments