Skip to content

Commit 1192226

Browse files
Merge pull request #6046 from BitGo/marinade-unstake
chore(sdk-coin-sol): skip checking unstakingAddress for marinade
2 parents 66245eb + 1154795 commit 1192226

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/sdk-coin-sol/src/lib/stakingDeactivateBuilder.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ export class StakingDeactivateBuilder extends TransactionBuilder {
164164
throw new BuildTransactionError('Sender address cannot be the same as the Staking address');
165165
}
166166

167-
if (this._amount) {
167+
if (this._amount && !this._isMarinade) {
168168
assert(
169169
this._unstakingAddress,
170170
'When partially unstaking the unstaking address must be set before building the transaction'

0 commit comments

Comments
 (0)