Skip to content

Commit 4570ca2

Browse files
fmt
1 parent d487d62 commit 4570ca2

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

framework/base/src/storage/mappers/token/non_fungible_token_mapper.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -145,9 +145,7 @@ where
145145
};
146146

147147
storage_set(self.get_storage_key(), &TokenMapperState::<SA>::Pending);
148-
contract_call
149-
.with_callback(callback)
150-
.async_call_and_exit();
148+
contract_call.with_callback(callback).async_call_and_exit();
151149
}
152150

153151
/// Important: If you use custom callback, remember to save the token ID in the callback and clear the mapper in case of error! Clear is unusable outside this specific case.

framework/base/src/types/interaction/tx_exec/tx_exec_async_promises.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,9 @@ where
222222
///
223223
/// This version of the method must never be called. It is only here to provide a more readable error.
224224
pub unsafe fn register_promise(self) {
225-
ErrorHelper::<Api>::signal_error_with_message("register_promise requires explicit gas and function call");
225+
ErrorHelper::<Api>::signal_error_with_message(
226+
"register_promise requires explicit gas and function call",
227+
);
226228
}
227229
}
228230

0 commit comments

Comments
 (0)