Browse Source

terra.ts: add missing return statement

commit-id:ba0365e6
Stan Drozd 3 năm trước cách đây
mục cha
commit
c502ed3684
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      third_party/pyth/p2w-terra-relay/src/relay/terra.ts

+ 1 - 1
third_party/pyth/p2w-terra-relay/src/relay/terra.ts

@@ -177,7 +177,7 @@ export class TerraRelay implements Relay {
 
     const wallet = lcdClient.wallet(mk);
 
-    const query_result = await lcdClient.wasm.contractQuery(
+    return  await lcdClient.wasm.contractQuery(
       this.contractAddress,
       {
         price_info: {