Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
CyonAlexRDX committed Jun 2, 2023
1 parent 377633a commit 128d315
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ extension LedgerHardwareWalletFactorSource {
deviceID: HexCodable32Bytes
) throws -> Self {
try .init(
common: Self.common(hashForID: deviceID),
common: Self.common(hashForID: deviceID.data),
hint: .init(name: name, model: model),
nextDerivationIndicesPerNetwork: .init()
)
Expand Down
2 changes: 1 addition & 1 deletion Tests/ProfileTests/FactorSourcesCodableTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ final class FactorSourcesCodableTests: TestCase {
let ledger = try LedgerHardwareWalletFactorSource.model(
.nanoS,
name: "Orange",
deviceID: .deadbeef
deviceID: .init(.deadbeef32Bytes)
)
babylon.nextDerivationIndicesPerNetwork?.increaseNextDerivationIndex(
for: .account,
Expand Down

0 comments on commit 128d315

Please sign in to comment.