Skip to content
This repository was archived by the owner on Aug 30, 2024. It is now read-only.
This repository was archived by the owner on Aug 30, 2024. It is now read-only.

Archive compile error #27

@ysoftware

Description

@ysoftware

I get this error when trying to archive for App Store upload. Xcode 10

Transaction.swift
static func dataForSignature(chainId: String?, pkt: PackedTransaction) -> Data {
    ...
    writer.pushInt(value: Int(UInt32(pkt.transaction.expiration.timeIntervalSince1970) & 0xFFFFFFFF))
    writer.pushShort(value: pkt.transaction.refBlockNum & 0xFFFF)

    writer.pushInt(value: Int(pkt.transaction.refBlockPrefix & 0xFFFFFFFF))
    // ^ Integer literal '4294967295' overflows when stored into 'Int'
    ...
}

Any suggestions on how to fix this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions