mirror of
https://github.com/bitcoin-s/bitcoin-s.git
synced 2025-02-22 14:33:06 +01:00
Handle TypeIdentifier.MsgWitnessTx messages (#3836)
This commit is contained in:
parent
079fa62073
commit
9701769125
1 changed files with 2 additions and 2 deletions
|
@ -171,7 +171,7 @@ case class DataMessageHandler(
|
|||
getData.inventories.foreach { inv =>
|
||||
logger.debug(s"Looking for inv=$inv")
|
||||
inv.typeIdentifier match {
|
||||
case TypeIdentifier.MsgTx =>
|
||||
case TypeIdentifier.MsgTx | TypeIdentifier.MsgWitnessTx =>
|
||||
txDAO.findByHash(inv.hash).map {
|
||||
case Some(tx) =>
|
||||
peerMsgSender.sendTransactionMessage(tx.transaction)
|
||||
|
@ -183,7 +183,7 @@ case class DataMessageHandler(
|
|||
TypeIdentifier.MsgFilteredBlock |
|
||||
TypeIdentifier.MsgCompactBlock |
|
||||
TypeIdentifier.MsgFilteredWitnessBlock |
|
||||
TypeIdentifier.MsgWitnessBlock | TypeIdentifier.MsgWitnessTx) =>
|
||||
TypeIdentifier.MsgWitnessBlock) =>
|
||||
logger.warn(
|
||||
s"Got request to send data type=$other, this is not implemented yet")
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue