diff --git a/coordinator/src/tributary/mod.rs b/coordinator/src/tributary/mod.rs index 064002d2..a57d5e2d 100644 --- a/coordinator/src/tributary/mod.rs +++ b/coordinator/src/tributary/mod.rs @@ -702,7 +702,7 @@ impl TransactionTrait for Transaction { // Make sure the part we're cutting off is the signature assert_eq!(tx.drain((tx.len() - 64) ..).collect::>(), signed.signature.serialize()); } - Blake2s256::digest([b"Coordinator Tributary Transaction".as_ref(), &tx].concat()).into() + Blake2s256::digest([b"Coordinator Tributary Transaction".as_slice(), &tx].concat()).into() } fn verify(&self) -> Result<(), TransactionError> {