github.com/algorand/go-algorand-sdk@v1.24.0/types/errors.go (about)

     1  package types
     2  
     3  import (
     4  	"fmt"
     5  )
     6  
     7  var errWrongAddressByteLen = fmt.Errorf("encoding address is the wrong length, should be %d bytes", hashLenBytes)
     8  var errWrongAddressLen = fmt.Errorf("decoded address is the wrong length, should be %d bytes", hashLenBytes+checksumLenBytes)
     9  var errWrongChecksum = fmt.Errorf("address checksum is incorrect, did you copy the address correctly?")