Add limit 1 to rates

This commit is contained in:
Kieran 2023-09-16 23:08:36 +01:00
parent 193f78a967
commit a309737d8c
Signed by: Kieran
GPG Key ID: DE71CEB3925BE941

View File

@ -15,7 +15,8 @@ export function useRates(symbol: string, leaveOpen = true) {
rb.withFilter()
.kinds([1009 as EventKind])
.authors([bech32ToHex(SnortPubkey)])
.tag("d", [symbol]);
.tag("d", [symbol])
.limit(1);
return rb;
}, [symbol]);