Skip to content

Commit

Permalink
Fixed PersonalSignMessage not working because parameters wrong order.
Browse files Browse the repository at this point in the history
  • Loading branch information
mobilekosmos committed Oct 4, 2021
1 parent 5513942 commit 8b01be3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/main/kotlin/org/walletconnect/Session.kt
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ interface Session {
/**
* For the different sign types refer to https://docs.metamask.io/guide/signing-data.html#a-brief-history.
*/
data class PersonalSignMessage(val id: Long, val address: String, val message: String) : MethodCall(id)
data class PersonalSignMessage(val id: Long, val message: String, val address: String) : MethodCall(id)
/**
* Makes the signing message unreadable to the user, use PersonalSignMessage or SignTypedDataMessage instead.
* For the different sign types refer to https://docs.metamask.io/guide/signing-data.html#a-brief-history.
Expand Down

0 comments on commit 8b01be3

Please sign in to comment.