Skip to content

Commit

Permalink
feat(psm-tool): updateClock to trigger wallet update
Browse files Browse the repository at this point in the history
  • Loading branch information
dckc committed Sep 2, 2022
1 parent 558651f commit 7c79671
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/psm-tool/app/psm-sheets-lib.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,3 +100,9 @@ function votingPower() {
console.log('is this thing on?', data);
return data.result.validator_info.voting_power;
}

function updateClock(ref = 'A13') {
const sheet = SpreadsheetApp.getActiveSheet();
const t = new Date();
sheet.getRange(ref).setValue(t);
}

0 comments on commit 7c79671

Please sign in to comment.