diff options
Diffstat (limited to 'src/operations/refresh.ts')
-rw-r--r-- | src/operations/refresh.ts | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/operations/refresh.ts b/src/operations/refresh.ts index 6dd16d61a..092d9f154 100644 --- a/src/operations/refresh.ts +++ b/src/operations/refresh.ts @@ -26,6 +26,7 @@ import { initRetryInfo, updateRetryInfoTimeout, RefreshGroupRecord, + CoinSourceType, } from "../types/dbTypes"; import { amountToPretty } from "../util/helpers"; import { Database, TransactionHandle } from "../util/query"; @@ -407,10 +408,11 @@ async function refreshReveal( denomPubHash: denom.denomPubHash, denomSig, exchangeBaseUrl: refreshSession.exchangeBaseUrl, - reservePub: undefined, status: CoinStatus.Fresh, - coinIndex: -1, - withdrawSessionId: "", + coinSource: { + type: CoinSourceType.Refresh, + oldCoinPub: refreshSession.meltCoinPub, + } }; coins.push(coin); |