Skip to content

Commit

Permalink
update formatted output
Browse files Browse the repository at this point in the history
  • Loading branch information
lucyzhang314 committed Jun 19, 2024
1 parent 7987ead commit e79d6a9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion accounts/abi/abi.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ func (abi ABI) getArguments(name string, data []byte) (Arguments, error) {
var args Arguments
if method, ok := abi.Methods[name]; ok {
if len(data)%32 != 0 {
return nil, fmt.Errorf("abi: improperly formatted output: %q - Bytes: %+v", data, data)
return nil, fmt.Errorf("abi: improperly formatted output: %s - Bytes: [%+v]", string(data), data)
}
args = method.Outputs
}
Expand Down
2 changes: 1 addition & 1 deletion params/bootnodes.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2023 The astranet Authors
// Copyright 2024 The astranet Authors
// This file is part of the astranet library.
//
// The astranet library is free software: you can redistribute it and/or modify
Expand Down

0 comments on commit e79d6a9

Please sign in to comment.