From dc752f78827ed312c1e8595155d9e561c47180ad Mon Sep 17 00:00:00 2001 From: Simon Warta Date: Wed, 6 Jan 2021 12:08:45 +0100 Subject: [PATCH] Format Go code --- api/lib.go | 1 + api/mocks.go | 8 ++++---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/api/lib.go b/api/lib.go index 8ee16ba43..2610ad190 100644 --- a/api/lib.go +++ b/api/lib.go @@ -21,6 +21,7 @@ type cu64 = C.uint64_t type ci8 = C.int8_t type ci32 = C.int32_t type ci64 = C.int64_t + // Pointers type cu8_ptr = *C.uint8_t diff --git a/api/mocks.go b/api/mocks.go index 095d10c99..8823901a1 100644 --- a/api/mocks.go +++ b/api/mocks.go @@ -41,16 +41,16 @@ func MockEnvBin(t *testing.T) []byte { func MockInfo(sender types.HumanAddress, funds []types.Coin) types.MessageInfo { return types.MessageInfo{ - Sender: sender, + Sender: sender, SentFunds: funds, } } func MockInfoWithFunds(sender types.HumanAddress) types.MessageInfo { return MockInfo(sender, []types.Coin{{ - Denom: "ATOM", - Amount: "100", - }}) + Denom: "ATOM", + Amount: "100", + }}) } func MockInfoBin(t *testing.T, sender types.HumanAddress) []byte {