Skip to content

Commit

Permalink
MN-439: update extender version
Browse files Browse the repository at this point in the history
  • Loading branch information
grkamil committed Aug 24, 2020
1 parent 125bd02 commit 4e1fff8
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion balance/resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ func (Resource) Transform(model resource.ItemInterface, params ...resource.Param
}

func getCoinBalanceInBaseValue(balance models.Balance) *big.Int {
if balance.Coin.CoinId == 0 {
if balance.Coin.ID == 0 {
return helpers.StringToBigInt(balance.Value)
}

Expand Down
2 changes: 1 addition & 1 deletion coins/resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ func (IdResource) Transform(model resource.ItemInterface, params ...resource.Par
coin := model.(models.Coin)

return IdResource{
ID: uint32(coin.CoinId),
ID: uint32(coin.ID),
Symbol: coin.Symbol,
}
}
3 changes: 2 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ go 1.13

require (
github.com/MinterTeam/go-amino v0.14.1 // indirect
github.com/MinterTeam/minter-explorer-extender/v2 v2.1.1-0.20200820121843-ec0b080b5354
github.com/MinterTeam/minter-explorer-extender/v2 v2.1.1-0.20200824120016-277608980ac6
github.com/MinterTeam/minter-explorer-tools v1.5.2 // indirect
github.com/MinterTeam/minter-go-node v1.0.5
github.com/MinterTeam/minter-go-sdk v1.1.6
Expand All @@ -18,6 +18,7 @@ require (
github.com/gin-gonic/gin v1.5.0
github.com/go-pg/pg v8.0.7+incompatible
github.com/go-pg/pg/v9 v9.1.2
github.com/go-pg/urlstruct v0.2.8
github.com/go-playground/universal-translator v0.17.0 // indirect
github.com/joho/godotenv v1.3.0
github.com/leodido/go-urn v1.2.0 // indirect
Expand Down
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ github.com/MinterTeam/minter-explorer-extender/v2 v2.1.1-0.20200820121027-9450f8
github.com/MinterTeam/minter-explorer-extender/v2 v2.1.1-0.20200820121027-9450f8aa4790/go.mod h1:7jy+TEO9dEdfEwgGdXesETCxcWl3DYGlZCbMvD3KxHM=
github.com/MinterTeam/minter-explorer-extender/v2 v2.1.1-0.20200820121843-ec0b080b5354 h1:E9nkJ/NcilzxIfg4CBA8HRHKgtrLDZYUFmkel4VHeoE=
github.com/MinterTeam/minter-explorer-extender/v2 v2.1.1-0.20200820121843-ec0b080b5354/go.mod h1:7jy+TEO9dEdfEwgGdXesETCxcWl3DYGlZCbMvD3KxHM=
github.com/MinterTeam/minter-explorer-extender/v2 v2.1.1-0.20200824120016-277608980ac6 h1:+2FfuaJtpVtu42LvAStit0KynABx9pfiu4SrSBWc37A=
github.com/MinterTeam/minter-explorer-extender/v2 v2.1.1-0.20200824120016-277608980ac6/go.mod h1:7jy+TEO9dEdfEwgGdXesETCxcWl3DYGlZCbMvD3KxHM=
github.com/MinterTeam/minter-explorer-tools v1.5.2 h1:p+MIw4jaddH4NRM9DXdQjUsGVGoesIKreLwv64iZp+c=
github.com/MinterTeam/minter-explorer-tools v1.5.2/go.mod h1:owuL/5tZGB+sGlQh88XFyCB5RobQGc5yWs5jm2BqQl4=
github.com/MinterTeam/minter-explorer-tools/v4 v4.2.3 h1:0hqzLuvGUn+LWbPyI275LSOYDS4UzCD3UI0eIDZqbms=
Expand Down

0 comments on commit 4e1fff8

Please sign in to comment.