From 9fd84ec998554793144ccfb10a4176f6a748fcef Mon Sep 17 00:00:00 2001 From: Ivan Shumkov Date: Tue, 3 Nov 2026 16:20:23 +0700 Subject: [PATCH] test(platform-wallet): pass on_built in the fixed-amount asset-lock test helper #5712 added broadcast_exact_registration_lock, which calls broadcast_funded_asset_lock_with_operation with seven arguments. #5476, merged right after it, added the eighth (on_built). Each PR passed on its own base, but together they leave the platform-wallet test target uncompilable, so v5.1-dev's all-targets clippy fails with E0061. Pass None, as the other test call sites do. Test would have caught this in CI: cargo clippy -p platform-wallet --all-targets --all-features fails with E0061 before this change and passes after; the 48 asset_lock::build tests pass. Co-Authored-By: Claude Opus 5.5 --- packages/rs-platform-wallet/src/wallet/asset_lock/build.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/rs-platform-wallet/src/wallet/asset_lock/build.rs b/packages/rs-platform-wallet/src/wallet/asset_lock/build.rs index 895460a3116..e25b9154037 100644 --- a/packages/rs-platform-wallet/src/wallet/asset_lock/build.rs +++ b/packages/rs-platform-wallet/src/wallet/asset_lock/build.rs @@ -4746,6 +4746,7 @@ mod tests { 0, signer, Some(&operation), + None, ) .await }