Skip to content

Commit

Permalink
change WC2 approval response to a dictionary instead of a string
Browse files Browse the repository at this point in the history
  • Loading branch information
simonmcl committed Jan 9, 2024
1 parent c79de16 commit c84813f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Kukai Mobile/Services/WalletConnectService.swift
Original file line number Diff line number Diff line change
Expand Up @@ -613,7 +613,7 @@ public class WalletConnectService {
response = .response(AnyCodable(["signature": sig]))

} else if let hash = opHash {
response = .response(AnyCodable(any: hash))
response = .response(AnyCodable(["operationHash": hash]))
}

try await Sign.instance.respond(topic: request.topic, requestId: request.id, response: response)
Expand Down

0 comments on commit c84813f

Please sign in to comment.