From 9d637d1fd5df840fc854d7b7b75bb46176bf023e Mon Sep 17 00:00:00 2001 From: Karim Date: Mon, 4 Nov 2024 19:07:12 +0000 Subject: [PATCH] fix: attach `ONE_YOCTO` (#103) --- near/nep141-locker/src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/near/nep141-locker/src/lib.rs b/near/nep141-locker/src/lib.rs index 80dc4a0c..07eec3bd 100644 --- a/near/nep141-locker/src/lib.rs +++ b/near/nep141-locker/src/lib.rs @@ -706,6 +706,7 @@ impl Contract { ext_token::ext(token) .with_static_gas(LOG_METADATA_GAS) + .with_attached_deposit(ONE_YOCTO) .ft_transfer(fin_transfer.fee_recipient, U128(fee), None) }