Skip to content

Commit

Permalink
Format Go code
Browse files Browse the repository at this point in the history
  • Loading branch information
webmaster128 committed Jan 6, 2021
1 parent 24b4ba2 commit dc752f7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions api/lib.go
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
8 changes: 4 additions & 4 deletions api/mocks.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit dc752f7

Please sign in to comment.