diff --git a/core/src/main/scala/org/bitcoins/core/protocol/dlc/SigningVersion.scala b/core/src/main/scala/org/bitcoins/core/protocol/dlc/SigningVersion.scala index e87dbc5dfd..7b5b133b33 100644 --- a/core/src/main/scala/org/bitcoins/core/protocol/dlc/SigningVersion.scala +++ b/core/src/main/scala/org/bitcoins/core/protocol/dlc/SigningVersion.scala @@ -84,9 +84,7 @@ object SigningVersion extends StringFactory[SigningVersion] { } override def calcAnnouncementHash(eventTLV: OracleEventTLV): ByteVector = - CryptoUtil - .taggedSha256(eventTLV.bytes, "DLC/oracle/announcement/v0") - .bytes + CryptoUtil.sha256DLCAnnouncement(eventTLV.bytes).bytes override def calcOutcomeHash( descriptor: EventDescriptorTLV, @@ -94,9 +92,7 @@ object SigningVersion extends StringFactory[SigningVersion] { descriptor match { case _: EnumEventDescriptorV0TLV | _: RangeEventDescriptorV0TLV | _: DigitDecompositionEventDescriptorV0TLV => - CryptoUtil - .taggedSha256(byteVector, "DLC/oracle/attestation/v0") - .bytes + CryptoUtil.sha256DLCAttestation(byteVector).bytes } } }