Skip to content

fix: offer/bid id generation #1349

fix: offer/bid id generation

fix: offer/bid id generation #1349

Triggered via push December 11, 2023 11:59
Status Failure
Total duration 56s
Artifacts

rust.yaml

on: push
Fit to window
Zoom out
Zoom in

Annotations

6 errors
lint: src/rgb/swap.rs#L164
error: useless use of `format!` --> src/rgb/swap.rs:164:23 | 164 | hasher.update(format!("{contract_id}").as_bytes()); | ^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using `.to_string()`: `contract_id.to_string()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_format = note: `-D clippy::useless-format` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(clippy::useless_format)]`
lint: src/rgb/swap.rs#L314
error: useless use of `format!` --> src/rgb/swap.rs:314:23 | 314 | hasher.update(format!("{contract_id}").as_bytes()); | ^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using `.to_string()`: `contract_id.to_string()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_format
lint
Process completed with exit code 1.
lint-wasm: src/rgb/swap.rs#L164
error: useless use of `format!` --> src/rgb/swap.rs:164:23 | 164 | hasher.update(format!("{contract_id}").as_bytes()); | ^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using `.to_string()`: `contract_id.to_string()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_format = note: `-D clippy::useless-format` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(clippy::useless_format)]`
lint-wasm: src/rgb/swap.rs#L314
error: useless use of `format!` --> src/rgb/swap.rs:314:23 | 314 | hasher.update(format!("{contract_id}").as_bytes()); | ^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using `.to_string()`: `contract_id.to_string()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_format
lint-wasm
Process completed with exit code 1.