Skip to content

Commit

Permalink
Format errors
Browse files Browse the repository at this point in the history
  • Loading branch information
bitzoic committed Jan 3, 2024
1 parent d8e30fa commit 52f37aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sway-lib-std/src/auth.sw
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ pub fn caller_address() -> Result<Address, AuthError> {
}

/// Get the current predicate's id when called in an internal context.
///
///
/// # Returns
///
/// * [Address] - The address of this predicate.
Expand All @@ -201,7 +201,7 @@ pub fn caller_address() -> Result<Address, AuthError> {
pub fn predicate_id() -> Address {
// Get index of current predicate.
// i3 = GM_GET_VERIFYING_PREDICATE
let predicate_index = asm(r1) {
let predicate_index = asm(r1) {
gm r1 i3;
r1: u64
};
Expand Down

0 comments on commit 52f37aa

Please sign in to comment.