Skip to content

Commit

Permalink
fix: Rename beforeStateAccounts to beforeStates in line with new rece…
Browse files Browse the repository at this point in the history
…ipt structure
  • Loading branch information
S0naliThakur authored and jairajdev committed Sep 10, 2024
1 parent 6eca7cb commit 1bb7c97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/storage/receipt.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ export async function processReceiptData(receipts: Receipt[], saveOnlyNewData =
}
let modifiedReceiptObj = {
...receiptObj,
beforeStateAccounts: config.storeReceiptBeforeStates ? receiptObj.beforeStateAccounts : [],
beforeStates: config.storeReceiptBeforeStates ? receiptObj.beforeStates : [],
}
if (saveOnlyNewData) {
const receiptExist = await queryReceiptByReceiptId(tx.txId)
Expand Down

0 comments on commit 1bb7c97

Please sign in to comment.