user7200: I'm trying to run cardano wallet server but it keeps me giving an error and have no idea what's wrong with it.
This is the command I run:
    cardano-wallet serve \
      --port 1919 \
      --node-socket /home/ubuntu/cardano-src/cardano-node/data/node.socket \
      --mainnet /home/ubuntu/cardano-src/cardano-node/mainnet-byron-genesis.json \
      --database /home/ubuntu/cardano-src/cardano-node/data \

This is the error:
Invalid argument `/home/ubuntu/cardano-src/cardano-node/mainnet-byron-genesis.json'

Any help is appreciated, thank you all in advance!

user7200: Problem solved after deleting the path to the file. --mainnet doesn't need any parameter to pass.
cardano-wallet serve \
      --port 1919 \
      --node-socket /home/ubuntu/cardano-src/cardano-node/data/node.socket \
      --mainnet \
      --database /home/ubuntu/cardano-src/cardano-node/data \


7200: <p>I'm trying to run cardano wallet server but it keeps me giving an error and have no idea what's wrong with it.
This is the command I run:</p>
<pre><code>    cardano-wallet serve \
      --port 1919 \
      --node-socket /home/ubuntu/cardano-src/cardano-node/data/node.socket \
      --mainnet /home/ubuntu/cardano-src/cardano-node/mainnet-byron-genesis.json \
      --database /home/ubuntu/cardano-src/cardano-node/data \
</code></pre>
<p>This is the error:</p>
<pre><code>Invalid argument `/home/ubuntu/cardano-src/cardano-node/mainnet-byron-genesis.json'
</code></pre>
<p>Any help is appreciated, thank you all in advance!</p>
 7200: <p>Problem solved after deleting the path to the file. <code>--mainnet</code> doesn't need any parameter to pass.</p>
<pre><code>cardano-wallet serve \
      --port 1919 \
      --node-socket /home/ubuntu/cardano-src/cardano-node/data/node.socket \
      --mainnet \
      --database /home/ubuntu/cardano-src/cardano-node/data \
</code></pre>
