cli/smartcontract: allow to use 0x-prefixed hashes in generate
Signed-off-by: Evgeniy Stratonikov <evgeniy@nspcc.ru>
This commit is contained in:
parent
870fd024c9
commit
42c1e8b0e3
2 changed files with 3 additions and 2 deletions
|
@ -256,7 +256,7 @@ func TestGenerateValidPackageName(t *testing.T) {
|
|||
require.NoError(t, app.Run([]string{"", "generate-wrapper",
|
||||
"--manifest", manifestFile,
|
||||
"--out", outFile,
|
||||
"--hash", h.StringLE(),
|
||||
"--hash", "0x" + h.StringLE(),
|
||||
}))
|
||||
|
||||
data, err := ioutil.ReadFile(outFile)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue