File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 5
5
"time"
6
6
7
7
"github.com/code-payments/code-server/pkg/code/balance"
8
+ "github.com/code-payments/code-server/pkg/code/config"
8
9
"github.com/code-payments/code-server/pkg/metrics"
9
10
)
10
11
@@ -50,8 +51,9 @@ func (p *service) recordAidropAccountBalance(ctx context.Context) {
50
51
quarks , err := balance .CalculateFromCache (ctx , p .data , p .airdropper .Vault )
51
52
if err == nil {
52
53
metrics .RecordEvent (ctx , airdropperBalanceEventName , map [string ]interface {}{
53
- "owner" : p .airdropper .VaultOwner .PublicKey ().ToBase58 (),
54
- "balance" : quarks ,
54
+ "owner" : p .airdropper .VaultOwner .PublicKey ().ToBase58 (),
55
+ "quarks" : quarks ,
56
+ "quarks_per_unit" : config .CoreMintQuarksPerUnit ,
55
57
})
56
58
}
57
59
}
You can’t perform that action at this time.
0 commit comments