@@ -141,7 +141,7 @@ bool protocol_explore::handle_get_block(const code& ec, interface::block,
141141 data_chunk out (size);
142142 stream::out::fast sink{ out };
143143 write::bytes::fast writer{ sink };
144- block->to_data (writer);
144+ block->to_data (writer, witness );
145145 send_chunk (std::move (out));
146146 return true ;
147147 }
@@ -150,7 +150,7 @@ bool protocol_explore::handle_get_block(const code& ec, interface::block,
150150 std::string out (two * size, ' \0 ' );
151151 stream::out::fast sink{ out };
152152 write::base16::fast writer{ sink };
153- block->to_data (writer);
153+ block->to_data (writer, witness );
154154 send_text (std::move (out));
155155 return true ;
156156 }
@@ -247,7 +247,7 @@ bool protocol_explore::handle_get_block_tx(const code& ec, interface::block_tx,
247247 data_chunk out (size);
248248 stream::out::fast sink{ out };
249249 write::bytes::fast writer{ sink };
250- tx->to_data (writer);
250+ tx->to_data (writer, witness );
251251 send_chunk (std::move (out));
252252 return true ;
253253 }
@@ -256,7 +256,7 @@ bool protocol_explore::handle_get_block_tx(const code& ec, interface::block_tx,
256256 std::string out (two * size, ' \0 ' );
257257 stream::out::fast sink{ out };
258258 write::base16::fast writer{ sink };
259- tx->to_data (writer);
259+ tx->to_data (writer, witness );
260260 send_text (std::move (out));
261261 return true ;
262262 }
@@ -290,7 +290,7 @@ bool protocol_explore::handle_get_transaction(const code& ec,
290290 data_chunk out (size);
291291 stream::out::fast sink{ out };
292292 write::bytes::fast writer{ sink };
293- tx->to_data (writer);
293+ tx->to_data (writer, witness );
294294 send_chunk (std::move (out));
295295 return true ;
296296 }
@@ -299,7 +299,7 @@ bool protocol_explore::handle_get_transaction(const code& ec,
299299 std::string out (two * size, ' \0 ' );
300300 stream::out::fast sink{ out };
301301 write::base16::fast writer{ sink };
302- tx->to_data (writer);
302+ tx->to_data (writer, witness );
303303 send_text (std::move (out));
304304 return true ;
305305 }
0 commit comments