Skip to content

Commit

Permalink
chore: fix some typos in comment (#1769)
Browse files Browse the repository at this point in the history
Signed-off-by: davidwoood <davidwood@aliyun.com>
  • Loading branch information
davidwoood authored Jan 20, 2025
1 parent 226a6cd commit c962040
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ interface HydrationFeeInjector {
object ToNative : ResetMode()

/**
* Resets the the fee to the native one only the current fee payment asset is different
* Resets the fee to the native one only the current fee payment asset is different
*/
class ToNativeLazily(val feeAssetBeforeTransaction: BigInteger) : ResetMode()
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ abstract class BaseState<R : Web3Transport.Request<*>, S>(
Web3Session.Authorization.State.ALLOWED -> true
// first time dapp request authorization during this session
Web3Session.Authorization.State.NONE -> authorizePageWithConfirmation()
// user rejected this dapp previosuly - ask for authorization one more time
// user rejected this dapp previously - ask for authorization one more time
Web3Session.Authorization.State.REJECTED -> authorizePageWithConfirmation()
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class WalletConnectPairDeeplinkHandler(

override suspend fun matches(data: Uri): Boolean {
val newLinkMatch = data.scheme == "novawallet" && data.host == "wc"
// Older version of wc send both pair and sign requests through `wc:` deeplink so we additionaly check for `symKey` which is only present in pairing url
// Older version of wc send both pair and sign requests through `wc:` deeplink so we additionally check for `symKey` which is only present in pairing url
val oldLinkMatch = data.scheme == "wc" && "symKey" in data.toString()

return newLinkMatch || oldLinkMatch
Expand Down

0 comments on commit c962040

Please sign in to comment.