lib/settlement/utils.js
function determineNonceFromReceipt(receipt, address) {
    const {sender, recipient} = receipt;
    return caseInsensitiveCompare(sender.wallet, address) ? sender.nonce : recipient.nonce;
}
function determineNonceFromReceipt(receipt, address) {
    const {sender, recipient} = receipt;
    return caseInsensitiveCompare(sender.wallet, address) ? sender.nonce : recipient.nonce;
}
function determineNonceFromReceipt ( receipt , address ) { const { sender , recipient } = receipt ; return caseInsensitiveCompare ( sender . wallet , address ) ? sender . nonce : recipient . nonce ; }
Determine the settlement nonce for a wallet.
@param {Receipt} receipt - The receipt object
@param {Address} address - The wallet address
@returns {number} The nonce
Determine the settlement nonce for a wallet .