Skip to content

Commit

Permalink
fix: nodedetails
Browse files Browse the repository at this point in the history
  • Loading branch information
metallicalfa2 committed Aug 29, 2021
1 parent fa5df65 commit 319bacf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/FetchNodeDetails/fetchNodeDetails+promise.swift
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ extension FetchNodeDetails {
let a = info.components(separatedBy: "0x")
let b = "0x0000000000000000000000000000000000000000000000000000000000000020" + a[1]

let el = try! ABIDecoder.decodeData(b, types: [EpochInfo.self])
let el = try! ABIDecoder.decodeData(b, types: [NodeDetails.self])
let decodedTuple: NodeDetails = try! el[0].decoded()
seal.fulfill(decodedTuple)
}else{
Expand Down

0 comments on commit 319bacf

Please sign in to comment.