Skip to content
This repository has been archived by the owner on Feb 3, 2023. It is now read-only.

Commit

Permalink
FIx compiling error
Browse files Browse the repository at this point in the history
  • Loading branch information
danielailie committed Apr 29, 2021
1 parent 83ba5d3 commit 39183ca
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,10 @@ const NodeRow = ({ blsKey: key }: { blsKey: NodeType; index: number }) => {
args: [BytesValue.fromHex(key.blsKey)],
});
if (key.status.key === 'unStaked') {
const untypedResponse = value.outputUntyped();
dapp.proxy
.queryContract(query)
.then(value => {
const untypedResponse = value.outputUntyped();
const remainingUnBondPeriod = decodeUnsignedNumber(untypedResponse[0]);
const newRemaining = remainingUnBondPeriod !== undefined ? remainingUnBondPeriod : 0;

Expand Down

0 comments on commit 39183ca

Please sign in to comment.