Skip to content

Commit 3a57eec

Browse files
authored
mobile: fix build on iOS (#21362)
This fixes the iOS framework build by naming the second parameter of the Signer interface method. The name is important because it becomes part of the objc method signature. Fixes #21340
1 parent 997b552 commit 3a57eec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mobile/bind.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ import (
3232
// Signer is an interface defining the callback when a contract requires a
3333
// method to sign the transaction before submission.
3434
type Signer interface {
35-
Sign(*Address, *Transaction) (tx *Transaction, _ error)
35+
Sign(addr *Address, unsignedTx *Transaction) (tx *Transaction, _ error)
3636
}
3737

3838
type MobileSigner struct {

0 commit comments

Comments
 (0)