Skip to content

Commit

Permalink
wip: introducing cchain backend. service.Construction
Browse files Browse the repository at this point in the history
  • Loading branch information
abi87 committed Oct 28, 2022
1 parent 176875e commit ac29570
Show file tree
Hide file tree
Showing 6 changed files with 840 additions and 23 deletions.
2 changes: 1 addition & 1 deletion backend/cchain/account.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ func (b *Backend) AccountBalance(
}

// AccountCoins implements the /account/coins endpoint
func (b Backend) AccountCoins(
func (b *Backend) AccountCoins(
ctx context.Context,
req *types.AccountCoinsRequest,
) (*types.AccountCoinsResponse, *types.Error) {
Expand Down
8 changes: 4 additions & 4 deletions backend/cchain/backend.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ import (
)

var (
// _ service.ConstructionBackend = &Backend{}
_ service.NetworkBackend = &Backend{}
_ service.AccountBackend = &Backend{}
_ service.BlockBackend = &Backend{}
_ service.ConstructionBackend = &Backend{}
_ service.NetworkBackend = &Backend{}
_ service.AccountBackend = &Backend{}
_ service.BlockBackend = &Backend{}
)

type Backend struct {
Expand Down
Loading

0 comments on commit ac29570

Please sign in to comment.