refactor(instance.ts): use new zap_split data structure in ditto hard coded pubkey

This commit is contained in:
P. Reis 2024-07-23 20:41:02 -03:00
parent 75ad25ccac
commit c49460e37d

View file

@ -25,7 +25,7 @@ const instanceV1Controller: AppController = async (c) => {
['p', dittoPubkey, '5', dittoMsg], ['p', dittoPubkey, '5', dittoMsg],
], ],
}, c); }, c);
zap_split = { [dittoPubkey]: ['5', dittoMsg] }; zap_split = { [dittoPubkey]: { amount: 5, message: dittoMsg } };
} }
/** Protocol to use for WebSocket URLs, depending on the protocol of the `LOCAL_DOMAIN`. */ /** Protocol to use for WebSocket URLs, depending on the protocol of the `LOCAL_DOMAIN`. */