[#1684] *: Fix linter warnings

Signed-off-by: Evgenii Stratonikov <evgeniy@morphbits.ru>
This commit is contained in:
Evgenii Stratonikov 2022-08-15 10:29:30 +03:00 committed by Pavel Karpy
parent 67af4c89a8
commit f8b106ac85
5 changed files with 9 additions and 11 deletions

View file

@ -2,7 +2,6 @@ package morph
import (
"encoding/hex"
"io/ioutil"
"os"
"path/filepath"
"strconv"
@ -56,7 +55,7 @@ func TestInitialize(t *testing.T) {
require.NoError(t, err)
protoPath := filepath.Join(walletDir, "proto.yml")
require.NoError(t, ioutil.WriteFile(protoPath, data, os.ModePerm))
require.NoError(t, os.WriteFile(protoPath, data, os.ModePerm))
v.Set(protoConfigPath, protoPath)
// Set to the path or remove the next statement to download from the network.