Skip to content

Commit

Permalink
feat: add staking source
Browse files Browse the repository at this point in the history
  • Loading branch information
Majorfi committed Nov 5, 2024
1 parent 70b65cb commit 43514d2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions external/vaults/route.vaults.custom.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ type TRotkiVaultToken struct {

type TRotkiVaultStaking struct {
Address string `json:"address"`
Source string `json:"source"`
Available bool `json:"available"`
}

Expand Down Expand Up @@ -157,6 +158,7 @@ func (y Controller) GetVaultsForRotki(c *gin.Context) []TRotkiVaults {
Staking: TRotkiVaultStaking{
Address: newVault.Staking.Address,
Available: newVault.Staking.Available,
Source: newVault.Staking.Source,
},
}

Expand Down

0 comments on commit 43514d2

Please sign in to comment.