@@ -59,7 +59,7 @@ pub(crate) async fn start_forwarder(
59
59
let mut source_grpc_client =
60
60
SourceClient :: new ( create_rpc_channel ( source_config. socket_path . clone ( ) . into ( ) ) . await ?)
61
61
. max_encoding_message_size ( source_config. grpc_max_message_size )
62
- . max_encoding_message_size ( source_config. grpc_max_message_size ) ;
62
+ . max_decoding_message_size ( source_config. grpc_max_message_size ) ;
63
63
64
64
wait_until_source_ready ( & cln_token, & mut source_grpc_client) . await ?;
65
65
Some ( source_grpc_client)
@@ -92,7 +92,7 @@ pub(crate) async fn start_forwarder(
92
92
let mut sink_grpc_client =
93
93
SinkClient :: new ( create_rpc_channel ( udsink_config. socket_path . clone ( ) . into ( ) ) . await ?)
94
94
. max_encoding_message_size ( udsink_config. grpc_max_message_size )
95
- . max_encoding_message_size ( udsink_config. grpc_max_message_size ) ;
95
+ . max_decoding_message_size ( udsink_config. grpc_max_message_size ) ;
96
96
97
97
wait_until_sink_ready ( & cln_token, & mut sink_grpc_client) . await ?;
98
98
Some ( sink_grpc_client)
@@ -125,7 +125,7 @@ pub(crate) async fn start_forwarder(
125
125
create_rpc_channel ( fb_sink_config. socket_path . clone ( ) . into ( ) ) . await ?,
126
126
)
127
127
. max_encoding_message_size ( fb_sink_config. grpc_max_message_size )
128
- . max_encoding_message_size ( fb_sink_config. grpc_max_message_size ) ;
128
+ . max_decoding_message_size ( fb_sink_config. grpc_max_message_size ) ;
129
129
130
130
wait_until_sink_ready ( & cln_token, & mut fb_sink_grpc_client) . await ?;
131
131
Some ( fb_sink_grpc_client)
@@ -164,7 +164,7 @@ pub(crate) async fn start_forwarder(
164
164
create_rpc_channel ( transformer_config. socket_path . clone ( ) . into ( ) ) . await ?,
165
165
)
166
166
. max_encoding_message_size ( transformer_config. grpc_max_message_size )
167
- . max_encoding_message_size ( transformer_config. grpc_max_message_size ) ;
167
+ . max_decoding_message_size ( transformer_config. grpc_max_message_size ) ;
168
168
169
169
wait_until_transformer_ready ( & cln_token, & mut transformer_grpc_client) . await ?;
170
170
Some ( transformer_grpc_client. clone ( ) )
0 commit comments