Skip to content

Commit

Permalink
Fix AddDeclareTransaction parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
aquental committed Oct 27, 2023
1 parent 43c43c8 commit 1f1de99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion account/account.go
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,7 @@ func (account *Account) AddInvokeTransaction(ctx context.Context, invokeTx rpc.I
// Returns:
// - *rpc.AddDeclareTransactionResponse: The response for adding a declare transaction
// - error: an error, if any
func (account *Account) AddDeclareTransaction(ctx context.Context, declareTransaction rpc.AddDeclareTxnInput) (*rpc.AddDeclareTransactionResponse, error) {
func (account *Account) AddDeclareTransaction(ctx context.Context, declareTransaction rpc.BroadcastDeclareTxn) (*rpc.AddDeclareTransactionResponse, error) {
return account.provider.AddDeclareTransaction(ctx, declareTransaction)
}

Expand Down

0 comments on commit 1f1de99

Please sign in to comment.