@stellar-expert/tx-meta-effects-parser 5.0.0-beta14 → 5.0.0-beta15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/events-analyzer.js +2 -2
package/package.json
CHANGED
package/src/events-analyzer.js
CHANGED
|
@@ -146,13 +146,13 @@ class EventsAnalyzer {
|
|
|
146
146
|
this.effectAnalyzer.burn(classicAsset, amount)
|
|
147
147
|
this.effectAnalyzer.mint(sorobanAsset, amount)
|
|
148
148
|
} else {
|
|
149
|
-
this.effectAnalyzer.debit(amount,
|
|
149
|
+
this.effectAnalyzer.debit(amount, sorobanAsset, from)
|
|
150
150
|
}
|
|
151
151
|
if (classicAsset && !isContractAddress(to)) { //classic asset bridged from Soroban
|
|
152
152
|
this.effectAnalyzer.burn(sorobanAsset, amount)
|
|
153
153
|
this.effectAnalyzer.mint(classicAsset, amount)
|
|
154
154
|
} else {
|
|
155
|
-
this.effectAnalyzer.credit(amount,
|
|
155
|
+
this.effectAnalyzer.credit(amount, sorobanAsset, to)
|
|
156
156
|
}
|
|
157
157
|
}
|
|
158
158
|
|