From e22d8d406015c75d967283c26b3dfb0472ed8598 Mon Sep 17 00:00:00 2001 From: Felix Lange Date: Thu, 23 Jul 2020 13:00:10 +0200 Subject: [PATCH] mobile: fix build on iOS 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 --- mobile/bind.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mobile/bind.go b/mobile/bind.go index 9b4c0bb0e5d6..f64b37ec1580 100644 --- a/mobile/bind.go +++ b/mobile/bind.go @@ -32,7 +32,7 @@ import ( // Signer is an interface defining the callback when a contract requires a // method to sign the transaction before submission. type Signer interface { - Sign(*Address, *Transaction) (tx *Transaction, _ error) + Sign(addr *Address, unsignedTx *Transaction) (tx *Transaction, _ error) } type MobileSigner struct {