[CLI] Fix bug get getblock
Remove automatic padding input code, since it is for base64 encoding.
@@ -44,14 +44,6 @@ func execGetBlock(cmd *cobra.Command, args []string) {
binary.LittleEndian.PutUint64(b, uint64(number))
blockQuery = b
} else {
- if len(hash)%4 > 0 {
- toAdd := 4 - len(hash)%4
- for toAdd > 0 {
- hash = hash + "="
- toAdd--
- }
- cmd.Printf("Trying to append change input to %s by appending filling char =\n", hash)
- }
decoded, err := base58.Decode(hash)
if err != nil {
cmd.Printf("decode error: %s", err.Error())
