Skip to content

Commit

Permalink
WIP: upgrade cardano-wallet package to work with new TransactionLayer
Browse files Browse the repository at this point in the history
  • Loading branch information
KtorZ committed Jan 26, 2021
1 parent b4e1bf6 commit 5a8dda5
Show file tree
Hide file tree
Showing 2 changed files with 207 additions and 162 deletions.
6 changes: 3 additions & 3 deletions lib/shelley/src/Cardano/Wallet/Shelley/Api/Server.hs
Expand Up @@ -271,7 +271,7 @@ server byron icarus shelley spl ntp =

shelleyMigrations :: Server (ShelleyMigrations n)
shelleyMigrations =
getMigrationInfo @_ @_ @n shelley
getMigrationInfo @_ @_ shelley
:<|> migrateWallet shelley

stakePools :: Server (StakePools n ApiStakePool)
Expand Down Expand Up @@ -410,8 +410,8 @@ server byron icarus shelley spl ntp =
byronMigrations :: Server (ByronMigrations n)
byronMigrations =
(\wid -> withLegacyLayer wid
(byron , getMigrationInfo @_ @_ @n byron wid)
(icarus, getMigrationInfo @_ @_ @n icarus wid)
(byron , getMigrationInfo @_ @_ byron wid)
(icarus, getMigrationInfo @_ @_ icarus wid)
)
:<|> (\wid m -> withLegacyLayer wid
(byron , migrateWallet byron wid m)
Expand Down

0 comments on commit 5a8dda5

Please sign in to comment.