Skip to content

Commit

Permalink
Appease linter
Browse files Browse the repository at this point in the history
  • Loading branch information
2opremio committed Oct 8, 2024
1 parent 03a36e7 commit 3c61c61
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,9 @@ func CreateCreateNoArgConstructorContractOperation(sourceAccount string) *txnbui
return createCreateContractV2Operation(sourceAccount, salt, contractHash)
}

func createCreateContractV2Operation(sourceAccount string, salt xdr.Uint256, contractHash xdr.Hash) *txnbuild.InvokeHostFunction {
func createCreateContractV2Operation(
sourceAccount string, salt xdr.Uint256, contractHash xdr.Hash,
) *txnbuild.InvokeHostFunction {
sourceAccountID := xdr.MustAddress(sourceAccount)
return &txnbuild.InvokeHostFunction{
HostFunction: xdr.HostFunction{
Expand Down
2 changes: 0 additions & 2 deletions cmd/soroban-rpc/internal/integrationtest/transaction_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,6 @@ func TestSendTransactionFailedInvalidXDR(t *testing.T) {
}

func TestContractCreationWithConstructor(t *testing.T) {

if infrastructure.GetCoreMaxSupportedProtocol() < 22 {
t.Skip("Only test this for protocol >= 22")
}
Expand All @@ -224,5 +223,4 @@ func TestContractCreationWithConstructor(t *testing.T) {
tx, err := txnbuild.NewTransaction(params)
require.NoError(t, err)
infrastructure.SendSuccessfulTransaction(t, client, test.MasterKey(), tx)

}

0 comments on commit 3c61c61

Please sign in to comment.