From 52478de857687a726fb2fcf8fa3c1f9a00f18f4c Mon Sep 17 00:00:00 2001 From: Sunny Aggarwal Date: Sun, 22 Apr 2018 15:13:45 -0700 Subject: [PATCH] updated documentation --- docs/sdk/overview.rst | 6 ------ 1 file changed, 6 deletions(-) diff --git a/docs/sdk/overview.rst b/docs/sdk/overview.rst index 1356d7dc1d..8a13509063 100644 --- a/docs/sdk/overview.rst +++ b/docs/sdk/overview.rst @@ -143,9 +143,6 @@ implementing the ``Msg`` interface: // Must be alphanumeric or empty. Type() string - // Get some property of the Msg. - Get(key interface{}) (value interface{}) - // Get the canonical byte representation of the Msg. GetSignBytes() []byte @@ -175,9 +172,6 @@ Messages can specify basic self-consistency checks using the ``ValidateBasic()`` method to enforce that message contents are well formed before any actual logic begins. -Finally, messages can provide generic access to their contents via ``Get(key)``, -but this is mostly for convenience and not type-safe. - For instance, the ``Basecoin`` message types are defined in ``x/bank/tx.go``: ::