diff --git a/frontend/claim_sdk/testWallets.ts b/frontend/claim_sdk/testWallets.ts index 57e9e00d..c7f264b4 100644 --- a/frontend/claim_sdk/testWallets.ts +++ b/frontend/claim_sdk/testWallets.ts @@ -308,11 +308,10 @@ export class TestAlgorandWallet implements TestWallet { return new TestAlgorandWallet(keypair) } - async signMessage(payload: string): Promise { - const fullMessage = algorandGetFullMessage(payload); - const messageBytes = Buffer.from(fullMessage, 'utf-8'); - const sig = nacl.sign.detached(messageBytes, this.wallet.secretKey); + const fullMessage = algorandGetFullMessage(payload) + const messageBytes = Buffer.from(fullMessage, 'utf-8') + const sig = nacl.sign.detached(messageBytes, this.wallet.secretKey) return algorandBuildSignedMessage( this.address(), Buffer.from(sig).toString('hex'), diff --git a/token-dispenser/programs/token-dispenser/src/lib.rs b/token-dispenser/programs/token-dispenser/src/lib.rs index 88c4be30..f344e14c 100644 --- a/token-dispenser/programs/token-dispenser/src/lib.rs +++ b/token-dispenser/programs/token-dispenser/src/lib.rs @@ -459,7 +459,9 @@ impl IdentityCertificate { .get_payload(), claimant, )?; - Ok(Identity::Algorand{ pubkey: pubkey.clone() }) + Ok(Identity::Algorand { + pubkey: pubkey.clone(), + }) } IdentityCertificate::Aptos { pubkey,