Skip to content
This repository has been archived by the owner on Jan 29, 2024. It is now read-only.

Commit

Permalink
minor improvement to checks (#127)
Browse files Browse the repository at this point in the history
  • Loading branch information
adlrocha authored Jul 7, 2023
1 parent 5918848 commit ddf39a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gateway/src/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ pub(crate) fn resolved_from_to(

// Check if they are equal to save ourselves a resolution
if resolved {
if !equal_account_id(rt, &from_sig_addr, to)? {
if !equal_account_id(rt, &from_sig_addr, to) {
from_sig_addr = resolve_secp_bls(rt, &from_sig_addr)?;
} else {
from_sig_addr = to_sig_addr;
Expand Down

0 comments on commit ddf39a6

Please sign in to comment.