fix(solc/etherscan): trim constructor args (#1024)
This commit is contained in:
parent
97c37f187f
commit
20a01a260d
|
@ -105,6 +105,7 @@ impl VerifyContract {
|
|||
) -> Self {
|
||||
self.constructor_arguments = constructor_arguments.map(|s| {
|
||||
s.into()
|
||||
.trim()
|
||||
// TODO is this correct?
|
||||
.trim_start_matches("0x")
|
||||
.to_string()
|
||||
|
|
Loading…
Reference in New Issue