Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🦟 [Bugfix] buy fixes 138 #150

Merged
merged 3 commits into from
Nov 8, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions loafwallet.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -4839,7 +4839,7 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_ENTITLEMENTS = loafwallet/loafwallet.entitlements;
CURRENT_PROJECT_VERSION = 406;
CURRENT_PROJECT_VERSION = 415;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
DEVELOPMENT_TEAM = ZV7987N2ZC;
"EXCLUDED_ARCHS[sdk=iphonesimulator*]" = arm64;
Expand All @@ -4849,7 +4849,7 @@
"$(inherited)",
);
INFOPLIST_FILE = "$(SRCROOT)/loafwallet/Info.plist";
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
Expand Down Expand Up @@ -5259,7 +5259,7 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_ENTITLEMENTS = loafwallet/loafwallet.entitlements;
CURRENT_PROJECT_VERSION = 406;
CURRENT_PROJECT_VERSION = 415;
DEVELOPMENT_TEAM = ZV7987N2ZC;
"EXCLUDED_ARCHS[sdk=iphonesimulator*]" = arm64;
FRAMEWORK_SEARCH_PATHS = (
Expand All @@ -5268,7 +5268,7 @@
"$(inherited)",
);
INFOPLIST_FILE = "$(SRCROOT)/loafwallet/Info.plist";
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
Expand Down Expand Up @@ -5391,7 +5391,7 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_ENTITLEMENTS = loafwallet/loafwallet.entitlements;
CURRENT_PROJECT_VERSION = 406;
CURRENT_PROJECT_VERSION = 415;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
DEVELOPMENT_TEAM = ZV7987N2ZC;
FRAMEWORK_SEARCH_PATHS = (
Expand All @@ -5400,7 +5400,7 @@
"$(inherited)",
);
INFOPLIST_FILE = "$(SRCROOT)/loafwallet/Info.plist";
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
Expand Down
5 changes: 0 additions & 5 deletions loafwallet/src/Constants/Constants.swift
Original file line number Diff line number Diff line change
Expand Up @@ -157,12 +157,7 @@ struct FoundationSupport {
}

struct APIServer {

#if DEBUG
static let baseUrl = "https://api-stage.lite-wallet.org/"
#else
static let baseUrl = "https://api-prod.lite-wallet.org/"
#endif
}

struct Padding {
Expand Down
2 changes: 1 addition & 1 deletion loafwallet/src/Platform/BRAPIClient.swift
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ open class BRAPIClient : NSObject, URLSessionDelegate, URLSessionTaskDelegate, B
var proto = "https"

// host is the server(s) on which the API is hosted
var host = "api.loafwallet.org"
var host = "api-prod.lite-wallet.org"

// isFetchingAuth is set to true when a request is currently trying to renew authentication (the token)
// it is useful because fetching auth is not idempotent and not reentrant, so at most one auth attempt
Expand Down
2 changes: 1 addition & 1 deletion loafwalletTests/Constants Tests/ConstantsTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ import XCTest
class ConstantsTests: XCTestCase {

func testLFDonationAddressPage() throws {
XCTAssertTrue(FoundationSupport.url.absoluteString == "https://lite-wallet.org/support_address.html" )
XCTAssertTrue(FoundationSupport.dashboard == "https://litecoinfoundation.zendesk.com/")
}
}