Skip to content

Commit

Permalink
Appease clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
TheQuantumPhysicist committed Feb 6, 2024
1 parent a09cfc9 commit cc994b4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

const MESSAGE_MAGIC_PREFIX: &'static str = "===MINTLAYER MESSAGE BEGIN===";
const MESSAGE_MAGIC_SUFFIX: &'static str = "===MINTLAYER MESSAGE END===";
const MESSAGE_MAGIC_PREFIX: &str = "===MINTLAYER MESSAGE BEGIN===";
const MESSAGE_MAGIC_SUFFIX: &str = "===MINTLAYER MESSAGE END===";

use thiserror::Error;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ fn signature_with_chosen_text() {

let message =
"Lorem Ipsum is simply dummy text of the printing and typesetting industry.".as_bytes();
let message_challenge = produce_message_challenge(&message);
let message_challenge = produce_message_challenge(message);

// Ensure the challenge format hasn't changed
let message_challenge_hex = "5c0d4f606f2b5c309026e3378ca265cb6b12bce9f82d21a07f6c92f6230ae349";
Expand All @@ -398,7 +398,7 @@ fn signature_with_chosen_text() {
let signature_pubkeyhash = SignedArbitraryMessage::produce_uniparty_signature(
&private_key,
&destination_pubkeyhash,
&message,
message,
)
.unwrap();
SignedArbitraryMessage::from_data(signature_pubkeyhash.raw_signature)
Expand All @@ -419,7 +419,7 @@ fn signature_with_chosen_text() {
let signature_pub_key = SignedArbitraryMessage::produce_uniparty_signature(
&private_key,
&destination_pub_key,
&message,
message,
)
.unwrap();
SignedArbitraryMessage::from_data(signature_pub_key.raw_signature)
Expand Down

0 comments on commit cc994b4

Please sign in to comment.