Skip to content

Commit

Permalink
update docs for client
Browse files Browse the repository at this point in the history
  • Loading branch information
QuestofIranon committed Mar 26, 2020
1 parent 134d980 commit 862d920
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions client.go
Original file line number Diff line number Diff line change
Expand Up @@ -205,9 +205,8 @@ func (client *Client) SetOperator(accountID AccountID, privateKey Ed25519Private
}

// SetOperatorWith sets that account that will, by default, be paying for
// transactions and queries built with the client, the associated key with
// which to automatically sign transactions, and a callback that will be
// invoked when a transaction needs to be signed.
// transactions and queries built with the client, the account's Ed25519PublicKey
// and a callback that will be invoked when a transaction needs to be signed.
func (client *Client) SetOperatorWith(accountID AccountID, publicKey Ed25519PublicKey, signer TransactionSigner) *Client {
client.operator = &operator{
accountID: accountID,
Expand Down

0 comments on commit 862d920

Please sign in to comment.