Skip to content
This repository has been archived by the owner on Jul 15, 2022. It is now read-only.

Cosmos JS #1796

Merged
11 commits merged into from Mar 9, 2022
5 changes: 4 additions & 1 deletion src/families/cosmos/api/Cosmos.ts
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,10 @@ export const broadcast = async ({
);
}

return patchOperationWithHash(operation, data.tx_response.txhash);
return patchOperationWithHash(
{ ...operation, blockHeight: data.tx_response.height },
data.tx_response.txhash
);
};

export const getBlock = async (height: number): Promise<any> => {
Expand Down