Skip to content

Online transactions for pow-migration #13508

Online transactions for pow-migration

Online transactions for pow-migration #13508

GitHub Actions / Clippy Report failed Oct 8, 2024 in 0s

Clippy Report

1 error

Details

Results

Message level Amount
Internal compiler error 0
Error 1
Warning 0
Note 0
Help 0

Versions

  • rustc 1.81.0 (eeb90cda1 2024-09-04)
  • cargo 1.81.0 (2dbb1af80 2024-08-20)
  • clippy 0.1.81 (eeb90cd 2024-09-04)

Annotations

Check failure on line 91 in pow-migration/src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / Clippy Report

expected type, found variant `Ok`

error[E0573]: expected type, found variant `Ok`
  --> pow-migration/src/lib.rs:91:13
   |
91 | ) -> Result<Ok(u32), Error> {
   |             ^^^^^^^ not a type
   |
help: try using the variant's enum
   |
91 | ) -> Result<core::result::Result, Error> {
   |             ~~~~~~~~~~~~~~~~~~~~
91 | ) -> Result<nimiq_transaction::ExecutedTransaction, Error> {
   |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
91 | ) -> Result<serde::__private, Error> {
   |             ~~~~~~~~~~~~~~~~
91 | ) -> Result<std::result::Result, Error> {
   |             ~~~~~~~~~~~~~~~~~~~