From 4849b8e7ed2467ea80ffbbfbabe7e6093ed5fb53 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Eckel?= Date: Thu, 7 Mar 2024 17:12:38 +0100 Subject: [PATCH] pleasing the linter MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jürgen Eckel --- util/elementsd_connector.go | 2 +- util/machine_nft_test.go | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/util/elementsd_connector.go b/util/elementsd_connector.go index 88e890c..e6021b4 100644 --- a/util/elementsd_connector.go +++ b/util/elementsd_connector.go @@ -135,7 +135,7 @@ func IssueNFTAsset(name string, machineAddress string, domain string) (assetID s testMempoolAcceptResult := testMempoolAcceptResults[len(testMempoolAcceptResults)-1] if !testMempoolAcceptResult.Allowed { - err = fmt.Errorf("not accepted by mempool: %+v %+v\n", testMempoolAcceptResult, signRawTransactionWithWalletResult) + err = fmt.Errorf("not accepted by mempool: %+v %+v", testMempoolAcceptResult, signRawTransactionWithWalletResult) return } diff --git a/util/machine_nft_test.go b/util/machine_nft_test.go index 219b501..a690777 100644 --- a/util/machine_nft_test.go +++ b/util/machine_nft_test.go @@ -65,7 +65,6 @@ func TestMachineNFTIssuance(t *testing.T) { err := util.IssueMachineNFT(goCtx, &machine, "https", "testnet-assets.rddl.io", "register_asset") assert.NoError(t, err) wg.Done() - }() } wg.Wait()