File tree 3 files changed +4
-4
lines changed
3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
1
manifestVersion : subsquid.io/v0.1
2
2
name : speck
3
- version : 14
3
+ version : 15
4
4
description : ' SubSquid indexer for Uniques and Assets on Statemint'
5
5
build :
6
6
deploy :
Original file line number Diff line number Diff line change 1
1
manifestVersion : subsquid.io/v0.1
2
2
name : stick
3
- version : 12
3
+ version : 13
4
4
description : ' SubSquid indexer for Uniques and Assets on Statemine'
5
5
build :
6
6
deploy :
Original file line number Diff line number Diff line change @@ -45,8 +45,8 @@ export async function handleCreateSwap(context: Context): Promise<void> {
45
45
final . desired = desired
46
46
final . expiration = deadline
47
47
final . price = event . price
48
- if ( 'surcharge' in final ) {
49
- final . surcharge = event . surcharge
48
+ if ( ! offer ) {
49
+ ( final as Swap ) . surcharge = event . surcharge
50
50
}
51
51
final . status = final . blockNumber >= deadline ? TradeStatus . EXPIRED : TradeStatus . ACTIVE
52
52
final . updatedAt = event . timestamp
You can’t perform that action at this time.
0 commit comments