From b557d4278f71282c09ad89d436564bc1a41e384b Mon Sep 17 00:00:00 2001 From: Aleksandr Bezobchuk Date: Mon, 16 Mar 2020 11:52:07 -0400 Subject: [PATCH] Update CanonicalSignBytes godoc --- client/tx/tx.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/client/tx/tx.go b/client/tx/tx.go index 84c918832e..be25ec7541 100644 --- a/client/tx/tx.go +++ b/client/tx/tx.go @@ -29,6 +29,10 @@ type ( GetMemo() string SetMemo(string) + // CanonicalSignBytes returns the canonical JSON bytes to sign over, given a + // chain ID, along with an account and sequence number. The JSON encoding + // ensures all field names adhere to their proto definition, default values + // are omitted, and follows the JSON Canonical Form. CanonicalSignBytes(cid string, num, seq uint64) ([]byte, error) } )