Do not sanitize memo
This commit is contained in:
parent
e950dd34aa
commit
6a33b424a6
|
@ -2,7 +2,6 @@ package tx
|
|||
|
||||
import (
|
||||
"io"
|
||||
"strings"
|
||||
|
||||
"github.com/spf13/viper"
|
||||
|
||||
|
@ -140,7 +139,7 @@ func (f Factory) WithSequence(sequence uint64) Factory {
|
|||
|
||||
// WithMemo returns a copy of the Factory with an updated memo.
|
||||
func (f Factory) WithMemo(memo string) Factory {
|
||||
f.memo = strings.TrimSpace(memo)
|
||||
f.memo = memo
|
||||
return f
|
||||
}
|
||||
|
||||
|
|
|
@ -8,14 +8,11 @@ import (
|
|||
"net/http"
|
||||
"os"
|
||||
|
||||
"github.com/spf13/viper"
|
||||
|
||||
"github.com/cosmos/cosmos-sdk/client/context"
|
||||
"github.com/cosmos/cosmos-sdk/client/flags"
|
||||
"github.com/cosmos/cosmos-sdk/client/input"
|
||||
clientkeys "github.com/cosmos/cosmos-sdk/client/keys"
|
||||
"github.com/cosmos/cosmos-sdk/codec"
|
||||
"github.com/cosmos/cosmos-sdk/crypto/keyring"
|
||||
sdk "github.com/cosmos/cosmos-sdk/types"
|
||||
"github.com/cosmos/cosmos-sdk/types/rest"
|
||||
"github.com/cosmos/cosmos-sdk/x/auth"
|
||||
|
|
Loading…
Reference in New Issue