Skip to content

Commit

Permalink
Fix lint issues.
Browse files Browse the repository at this point in the history
  • Loading branch information
irina-pereiaslavskaia committed Jan 18, 2024
1 parent c43ddf0 commit 16aad59
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions itests/utilities/updateassetinfo/updateassetinfo.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,27 +52,27 @@ func MakeTxAndGetDiffBalances[T any](suite *f.BaseSuite, testdata testdata.Updat
utl.NewBalanceInAsset(actualDiffBalanceInAsset.BalanceInAssetGo, actualDiffBalanceInAsset.BalanceInAssetScala)
}

func UpdateAssetInfoSendWithTestData[T any](suite *f.BaseSuite, testdata testdata.UpdateAssetInfoTestData[T],
func SendWithTestData[T any](suite *f.BaseSuite, testdata testdata.UpdateAssetInfoTestData[T],
version byte, waitForTx bool) utl.ConsideredTransaction {
tx := NewSignedUpdateAssetInfoTransactionWithTestData(suite, version, testdata)
return utl.SendAndWaitTransaction(suite, tx, testdata.ChainID, waitForTx)
}

func UpdateAssetInfoBroadcastWithTestData[T any](suite *f.BaseSuite, testdata testdata.UpdateAssetInfoTestData[T],
func BroadcastWithTestData[T any](suite *f.BaseSuite, testdata testdata.UpdateAssetInfoTestData[T],
version byte, waitForTx bool) utl.ConsideredTransaction {
tx := NewSignedUpdateAssetInfoTransactionWithTestData(suite, version, testdata)
return utl.BroadcastAndWaitTransaction(suite, tx, testdata.ChainID, waitForTx)
}

func SendUpdateAssetInfoTxAndGetDiffBalances[T any](suite *f.BaseSuite, testdata testdata.UpdateAssetInfoTestData[T],
version byte, waitForTx bool) (utl.ConsideredTransaction, utl.BalanceInWaves, utl.BalanceInAsset) {
return MakeTxAndGetDiffBalances(suite, testdata, version, waitForTx, UpdateAssetInfoSendWithTestData[T])
return MakeTxAndGetDiffBalances(suite, testdata, version, waitForTx, SendWithTestData[T])
}

func BroadcastUpdateAssetInfoTxAndGetDiffBalances[T any](suite *f.BaseSuite,
testdata testdata.UpdateAssetInfoTestData[T], version byte, waitForTx bool) (utl.ConsideredTransaction,
utl.BalanceInWaves, utl.BalanceInAsset) {
return MakeTxAndGetDiffBalances(suite, testdata, version, waitForTx, UpdateAssetInfoBroadcastWithTestData[T])
return MakeTxAndGetDiffBalances(suite, testdata, version, waitForTx, BroadcastWithTestData[T])
}

func GetVersions(suite *f.BaseSuite) []byte {
Expand Down

0 comments on commit 16aad59

Please sign in to comment.