mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
accounts/abi: removed comments, debug println
This commit is contained in:
parent
822890ca07
commit
c878583ee7
1 changed files with 0 additions and 2 deletions
|
|
@ -105,7 +105,6 @@ func setSlice(dst, src reflect.Value) error {
|
|||
}
|
||||
} else {
|
||||
// e.g. [][32]uint8 to []common.Hash
|
||||
//reflect.Copy(slice.Index(i), src.Index(i).Convert(slice.Index(i).Type()))
|
||||
if err := set(slice.Index(i), src.Index(i)); err != nil {
|
||||
return err
|
||||
}
|
||||
|
|
@ -128,7 +127,6 @@ func setArray(dst, src reflect.Value) error {
|
|||
|
||||
func setStruct(dst, src reflect.Value) error {
|
||||
for i := 0; i < src.NumField(); i++ {
|
||||
fmt.Printf(" %v %v ", src, dst)
|
||||
srcField := src.Field(i)
|
||||
dstField := dst.Field(i)
|
||||
if !dstField.IsValid() || !srcField.IsValid() {
|
||||
|
|
|
|||
Loading…
Reference in a new issue