Skip to content

Commit

Permalink
Merge pull request #1856 from dedis/work-fe1-4xiom5-fix-digital-cash-…
Browse files Browse the repository at this point in the history
…warning

 Fix #1775 Digital Cash Warning: RollCallId not defined
  • Loading branch information
4xiom5 committed May 14, 2024
2 parents 779775a + 6905be2 commit 5b6c4d7
Showing 1 changed file with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -317,15 +317,19 @@ export const SendReceiveHeaderRight = () => {
}
}, [popToken]);

if (serializedPopToken === null) {
if (isCoinbase) {
return null;
}

if (!serializedRollCallId) {
toast.show(STRINGS.digital_cash_error_rollcall_not_defined, {
type: 'warning',
placement: 'bottom',
duration: FOUR_SECONDS,
});
return null;
}
if (isCoinbase) {

if (serializedPopToken === null) {
return null;
}

Expand Down

0 comments on commit 5b6c4d7

Please sign in to comment.