diff --git a/.changeset/flat-snakes-think.md b/.changeset/flat-snakes-think.md new file mode 100644 index 0000000000..765ebba002 --- /dev/null +++ b/.changeset/flat-snakes-think.md @@ -0,0 +1,5 @@ +--- +"@layerzerolabs/ua-devtools-solana": patch +--- + +remove duplicate setPeer instruction diff --git a/packages/ua-devtools-solana/src/oft/sdk.ts b/packages/ua-devtools-solana/src/oft/sdk.ts index 87b4a8d802..f3e1705b54 100644 --- a/packages/ua-devtools-solana/src/oft/sdk.ts +++ b/packages/ua-devtools-solana/src/oft/sdk.ts @@ -204,10 +204,6 @@ export class OFT extends OmniSDK implements IOApp { instructions.push(oft.initOAppNonce({ admin: delegate, oftStore }, eid, normalizedPeer)) // delegate } - instructions.push( - await this._createSetPeerAddressIx(normalizedPeer, eid) // admin but is this needed? set twice... - ) - this.logger.debug(`Setting peer for eid ${eid} (${eidLabel}) to address ${peerAsBytes32}`) return { ...(await this.createTransaction(this._umiToWeb3Tx(instructions))),